ToolLocationHelper.GetLatestSDKTargetPlatformVersion Method

Definition

Overloads

GetLatestSDKTargetPlatformVersion(String, String)

Given an SDK Identifier and SDK version, return the latest installed platform.

GetLatestSDKTargetPlatformVersion(String, String, String[])

Given an SDK Identifier and SDK version, return the latest installed platform.

GetLatestSDKTargetPlatformVersion(String, String)

Source:
ToolLocationHelper.cs

Given an SDK Identifier and SDK version, return the latest installed platform.

C#
public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion);

Parameters

sdkIdentifier
String

SDK for which to find the latest installed platform

sdkVersion
String

SDK version for which to find the latest installed platform

Returns

The latest installed version for the given SDK

Applies to

MSBuild 17 i druge verzije
Proizvod Verzije
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

GetLatestSDKTargetPlatformVersion(String, String, String[])

Source:
ToolLocationHelper.cs

Given an SDK Identifier and SDK version, return the latest installed platform.

C#
public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots);

Parameters

sdkIdentifier
String

SDK for which to find the latest installed platform

sdkVersion
String

SDK version for which to find the latest installed platform

sdkRoots
String[]

SDK Root folders

Returns

The latest installed version for the given SDK

Applies to

MSBuild 17 i druge verzije
Proizvod Verzije
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17