Share via


ToolLocationHelper.GetPlatformExtensionSDKLocations Method (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)

Syntax

'Declaration
Public Shared Function GetPlatformExtensionSDKLocations ( _
    targetPlatformIdentifier As String, _
    targetPlatformVersion As Version _
) As IDictionary(Of String, String)
public static IDictionary<string, string> GetPlatformExtensionSDKLocations(
    string targetPlatformIdentifier,
    Version targetPlatformVersion
)
public:
static IDictionary<String^, String^>^ GetPlatformExtensionSDKLocations(
    String^ targetPlatformIdentifier, 
    Version^ targetPlatformVersion
)
static member GetPlatformExtensionSDKLocations : 
        targetPlatformIdentifier:string * 
        targetPlatformVersion:Version -> IDictionary<string, string> 
public static function GetPlatformExtensionSDKLocations(
    targetPlatformIdentifier : String, 
    targetPlatformVersion : Version
) : IDictionary<String, String>

Parameters

  • targetPlatformIdentifier
    Type: System.String

    Targeted platform to find SDKs for

  • targetPlatformVersion
    Type: System.Version

    Targeted platform version to find SDKs for

Return Value

Type: IDictionary<String, String>
IDictionary of installed SDKS and their location. K:SDKName V:SDK installation location

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

GetPlatformExtensionSDKLocations Overload

Microsoft.Build.Utilities Namespace