Compartir a través de


ToolLocationHelper.GetPlatformSDKPropsFileLocation Method (String, String, String, String, String, String, String)

Gets the location of the target platform SDK props file for a given {SDKI, SDKV, TPI, TPMinV, TPV} combination.

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

Syntax

'Declaration
Public Shared Function GetPlatformSDKPropsFileLocation ( _
    sdkIdentifier As String, _
    sdkVersion As String, _
    targetPlatformIdentifier As String, _
    targetPlatformMinVersion As String, _
    targetPlatformVersion As String, _
    diskRoots As String, _
    registryRoot As String _
) As String
public static string GetPlatformSDKPropsFileLocation(
    string sdkIdentifier,
    string sdkVersion,
    string targetPlatformIdentifier,
    string targetPlatformMinVersion,
    string targetPlatformVersion,
    string diskRoots,
    string registryRoot
)
public:
static String^ GetPlatformSDKPropsFileLocation(
    String^ sdkIdentifier, 
    String^ sdkVersion, 
    String^ targetPlatformIdentifier, 
    String^ targetPlatformMinVersion, 
    String^ targetPlatformVersion, 
    String^ diskRoots, 
    String^ registryRoot
)
static member GetPlatformSDKPropsFileLocation : 
        sdkIdentifier:string * 
        sdkVersion:string * 
        targetPlatformIdentifier:string * 
        targetPlatformMinVersion:string * 
        targetPlatformVersion:string * 
        diskRoots:string * 
        registryRoot:string -> string
public static function GetPlatformSDKPropsFileLocation(
    sdkIdentifier : String, 
    sdkVersion : String, 
    targetPlatformIdentifier : String, 
    targetPlatformMinVersion : String, 
    targetPlatformVersion : String, 
    diskRoots : String, 
    registryRoot : String
) : String

Parameters

  • sdkIdentifier
    Type: System.String

    The OneCore SDK identifier that defines the OneCore SDK root.

  • sdkVersion
    Type: System.String

    The verision of the OneCore SDK.

  • targetPlatformIdentifier
    Type: System.String

    Identifier for the targeted platform.

  • targetPlatformMinVersion
    Type: System.String

    The min version of the targeted platform.

  • targetPlatformVersion
    Type: System.String

    The version of the targeted platform.

  • diskRoots
    Type: System.String

    The disk roots to search for SDKs.

  • registryRoot
    Type: System.String

    The registry root to search for SDKs.

Return Value

Type: System.String
The location of the target platform SDK props file without the .props filename.

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

GetPlatformSDKPropsFileLocation Overload

Microsoft.Build.Utilities Namespace