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 string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot);

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 string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot);

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 string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, Version targetPlatformVersion, string[] diskRoots, string registryRoot);

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 string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, Version targetPlatformVersion);

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 string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion);

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 string GetPlatformExtensionSDKLocation (string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot);

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