Compartilhar via


ToolLocationHelper.GetPlatformExtensionSDKLocation Method

Definition

For specified parameters, get the path to the SDK root if it exists.

Overloads

GetPlatformExtensionSDKLocation(String, String, Version, String[], String[], String)

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

GetPlatformExtensionSDKLocation(String, String, String, String, String, String)

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

GetPlatformExtensionSDKLocation(String, String, Version, String[], String)

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

GetPlatformExtensionSDKLocation(String, String, Version)

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

GetPlatformExtensionSDKLocation(String, String, String)

Given an SDK moniker and the targeted platform get the path to the SDK root if it exists.

GetPlatformExtensionSDKLocation(String, String, String, String, String)

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

GetPlatformExtensionSDKLocation(String, String, Version, String[], String[], String)

Source:
ToolLocationHelper.cs

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

public:
 static System::String ^ GetPlatformExtensionSDKLocation(System::String ^ sdkMoniker, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion, cli::array <System::String ^> ^ diskRoots, cli::array <System::String ^> ^ extensionDiskRoots, System::String ^ registryRoot);
public static string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot);
static member GetPlatformExtensionSDKLocation : string * string * Version * string[] * string[] * string -> string
Public Shared Function GetPlatformExtensionSDKLocation (sdkMoniker As String, targetPlatformIdentifier As String, targetPlatformVersion As Version, diskRoots As String(), extensionDiskRoots As String(), registryRoot As String) As String

Parameters

sdkMoniker
String

Name of the SDK to determine the installation location for.

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

diskRoots
String[]

List of disk roots to search for sdks within

extensionDiskRoots
String[]

List of disk roots to look for manifest driven extension sdks

registryRoot
String

Registry root to look for sdks within

Returns

Location of the SDK if it is found, empty string if it could not be found

Applies to

GetPlatformExtensionSDKLocation(String, String, String, String, String, String)

Source:
ToolLocationHelper.cs

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

public:
 static System::String ^ GetPlatformExtensionSDKLocation(System::String ^ sdkMoniker, System::String ^ targetPlatformIdentifier, System::String ^ targetPlatformVersion, System::String ^ diskRoots, System::String ^ extensionDiskRoots, System::String ^ registryRoot);
public static string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot);
static member GetPlatformExtensionSDKLocation : string * string * string * string * string * string -> string
Public Shared Function GetPlatformExtensionSDKLocation (sdkMoniker As String, targetPlatformIdentifier As String, targetPlatformVersion As String, diskRoots As String, extensionDiskRoots As String, registryRoot As String) As String

Parameters

sdkMoniker
String

Name of the SDK to determine the installation location for.

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
String

Targeted platform version to find SDKs for

diskRoots
String

List of disk roots to search for sdks within

extensionDiskRoots
String

List of disk roots to look for manifest driven extension sdks

registryRoot
String

Registry root to look for sdks within

Returns

Location of the SDK if it is found, empty string if it could not be found

Applies to

GetPlatformExtensionSDKLocation(String, String, Version, String[], String)

Source:
ToolLocationHelper.cs

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

public:
 static System::String ^ GetPlatformExtensionSDKLocation(System::String ^ sdkMoniker, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion, cli::array <System::String ^> ^ diskRoots, System::String ^ registryRoot);
public static string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, Version targetPlatformVersion, string[] diskRoots, string registryRoot);
static member GetPlatformExtensionSDKLocation : string * string * Version * string[] * string -> string
Public Shared Function GetPlatformExtensionSDKLocation (sdkMoniker As String, targetPlatformIdentifier As String, targetPlatformVersion As Version, diskRoots As String(), registryRoot As String) As String

Parameters

sdkMoniker
String

Name of the SDK to determine the installation location for.

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

diskRoots
String[]

List of disk roots to search for sdks within

registryRoot
String

Registry root to look for sdks within

Returns

Location of the SDK if it is found, empty string if it could not be found

Applies to

GetPlatformExtensionSDKLocation(String, String, Version)

Source:
ToolLocationHelper.cs

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

public:
 static System::String ^ GetPlatformExtensionSDKLocation(System::String ^ sdkMoniker, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocation : string * string * Version -> string
Public Shared Function GetPlatformExtensionSDKLocation (sdkMoniker As String, targetPlatformIdentifier As String, targetPlatformVersion As Version) As String

Parameters

sdkMoniker
String

Name of the SDK to determine the installation location for.

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

Location of the SDK if it is found, empty string if it could not be found

Applies to

GetPlatformExtensionSDKLocation(String, String, String)

Source:
ToolLocationHelper.cs

Given an SDK moniker and the targeted platform get the path to the SDK root if it exists.

public:
 static System::String ^ GetPlatformExtensionSDKLocation(System::String ^ sdkMoniker, System::String ^ targetPlatformIdentifier, System::String ^ targetPlatformVersion);
public static string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion);
static member GetPlatformExtensionSDKLocation : string * string * string -> string
Public Shared Function GetPlatformExtensionSDKLocation (sdkMoniker As String, targetPlatformIdentifier As String, targetPlatformVersion As String) As String

Parameters

sdkMoniker
String

Moniker for the sdk

targetPlatformIdentifier
String

Identifier for the platform

targetPlatformVersion
String

Version of the platform

Returns

A full path to the sdk root if the sdk exists in the targeted platform or an empty string if it does not exist.

Applies to

GetPlatformExtensionSDKLocation(String, String, String, String, String)

Source:
ToolLocationHelper.cs

Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X

public:
 static System::String ^ GetPlatformExtensionSDKLocation(System::String ^ sdkMoniker, System::String ^ targetPlatformIdentifier, System::String ^ targetPlatformVersion, System::String ^ diskRoots, System::String ^ registryRoot);
public static string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot);
static member GetPlatformExtensionSDKLocation : string * string * string * string * string -> string
Public Shared Function GetPlatformExtensionSDKLocation (sdkMoniker As String, targetPlatformIdentifier As String, targetPlatformVersion As String, diskRoots As String, registryRoot As String) As String

Parameters

sdkMoniker
String

Name of the SDK to determine the installation location for.

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
String

Targeted platform version to find SDKs for

diskRoots
String

List of disk roots to search for sdks within

registryRoot
String

Registry root to look for sdks within

Returns

Location of the SDK if it is found, empty string if it could not be found

Applies to