GetPlatformExtensionSDKLocations Method (String[], String, String, Version)

ToolLocationHelper.GetPlatformExtensionSDKLocations Method (String[], String, String, Version)


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

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

public static IDictionary<stringstring> GetPlatformExtensionSDKLocations(
	string[] diskRoots,
	string registryRoot,
	string targetPlatformIdentifier,
	Version targetPlatformVersion


Type: System.String[]

Array of disk locations to search for sdks

Type: System.String

Root registry location to look for sdks

Type: System.String

Targeted platform to find SDKs for

Type: System.Version

Targeted platform version to find SDKs for

Return Value

Type: System.Collections.Generic.IDictionary<StringString>

IDictionary of installed SDKS and their location. K:SDKName V:SDK installation location

Return to top
© 2016 Microsoft