다음을 통해 공유


ToolLocationHelper.GetTargetPlatformSdks Method

Definition

Gets a list of target platform SDKs on the machine.

Overloads

GetTargetPlatformSdks()

Get a list target platform sdks on the machine.

GetTargetPlatformSdks(String[], String)

Get a list target platform sdks on the machine.

GetTargetPlatformSdks()

Source:
ToolLocationHelper.cs

Get a list target platform sdks on the machine.

public:
 static System::Collections::Generic::IList<Microsoft::Build::Utilities::TargetPlatformSDK ^> ^ GetTargetPlatformSdks();
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK> GetTargetPlatformSdks ();
static member GetTargetPlatformSdks : unit -> System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK>
Public Shared Function GetTargetPlatformSdks () As IList(Of TargetPlatformSDK)

Returns

List of Target Platform SDKs, Item1: TargetPlatformName Item2: Version of SDK Item3: Path to sdk root

Applies to

GetTargetPlatformSdks(String[], String)

Source:
ToolLocationHelper.cs

Get a list target platform sdks on the machine.

public:
 static System::Collections::Generic::IList<Microsoft::Build::Utilities::TargetPlatformSDK ^> ^ GetTargetPlatformSdks(cli::array <System::String ^> ^ diskRoots, System::String ^ registryRoot);
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK> GetTargetPlatformSdks (string[] diskRoots, string registryRoot);
static member GetTargetPlatformSdks : string[] * string -> System.Collections.Generic.IList<Microsoft.Build.Utilities.TargetPlatformSDK>
Public Shared Function GetTargetPlatformSdks (diskRoots As String(), registryRoot As String) As IList(Of TargetPlatformSDK)

Parameters

diskRoots
String[]

List of disk locations to search for platform sdks

registryRoot
String

Registry root location to look for platform sdks

Returns

List of Target Platform SDKs

Applies to