次の方法で共有


ToolLocationHelper.GetPlatformSDKPropsFileLocation Method (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 _
) As String
public static string GetPlatformSDKPropsFileLocation(
    string sdkIdentifier,
    string sdkVersion,
    string targetPlatformIdentifier,
    string targetPlatformMinVersion,
    string targetPlatformVersion
)
public:
static String^ GetPlatformSDKPropsFileLocation(
    String^ sdkIdentifier, 
    String^ sdkVersion, 
    String^ targetPlatformIdentifier, 
    String^ targetPlatformMinVersion, 
    String^ targetPlatformVersion
)
static member GetPlatformSDKPropsFileLocation : 
        sdkIdentifier:string * 
        sdkVersion:string * 
        targetPlatformIdentifier:string * 
        targetPlatformMinVersion:string * 
        targetPlatformVersion:string -> string
public static function GetPlatformSDKPropsFileLocation(
    sdkIdentifier : String, 
    sdkVersion : String, 
    targetPlatformIdentifier : String, 
    targetPlatformMinVersion : String, 
    targetPlatformVersion : 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.

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