ToolLocationHelper.GetPlatformExtensionSDKLocationsAndVersions Method

Definition

Overloads

GetPlatformExtensionSDKLocationsAndVersions(String, Version)

Get a list of SDK's installed on the machine for a given target platform

GetPlatformExtensionSDKLocationsAndVersions(String[], String, String, Version)

Set of installed SDKs and their location and platform versions

GetPlatformExtensionSDKLocationsAndVersions(String[], String[], String, String, Version)

Set of installed SDKs and their location and platform versions

GetPlatformExtensionSDKLocationsAndVersions(String, Version)

Source:
ToolLocationHelper.cs

Get a list of SDK's installed on the machine for a given target platform

C#
public static System.Collections.Generic.IDictionary<string,Tuple<string,string>> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, Version targetPlatformVersion);

Parameters

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

IDictionary of installed SDKS and their tuples containing (location, platform version).

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

GetPlatformExtensionSDKLocationsAndVersions(String[], String, String, Version)

Source:
ToolLocationHelper.cs

Set of installed SDKs and their location and platform versions

C#
public static System.Collections.Generic.IDictionary<string,Tuple<string,string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion);

Parameters

diskRoots
String[]

Array of disk locations to search for sdks

registryRoot
String

Root registry location to look for sdks

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

IDictionary of installed SDKS and their tuples containing (location, platform version).

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

GetPlatformExtensionSDKLocationsAndVersions(String[], String[], String, String, Version)

Source:
ToolLocationHelper.cs

Set of installed SDKs and their location and platform versions

C#
public static System.Collections.Generic.IDictionary<string,Tuple<string,string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion);

Parameters

diskRoots
String[]

Array of disk locations to search for sdks

multiPlatformDiskRoots
String[]

Array of disk locations to search for SDKs that target multiple versions

registryRoot
String

Root registry location to look for sdks

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

IDictionary of installed SDKS and their tuples containing (location, platform version). Version may be null if the SDK targets multiple versions.

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17