Compartir a través de


ToolLocationHelper.GetTargetPlatformReferences Method (String, String, String, String, String)

Gets the set of platform .winmd files for a particular {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 GetTargetPlatformReferences ( _
    sdkIdentifier As String, _
    sdkVersion As String, _
    targetPlatformIdentifier As String, _
    targetPlatformMinVersion As String, _
    targetPlatformVersion As String _
) As String()
public static string[] GetTargetPlatformReferences(
    string sdkIdentifier,
    string sdkVersion,
    string targetPlatformIdentifier,
    string targetPlatformMinVersion,
    string targetPlatformVersion
)
public:
static array<String^>^ GetTargetPlatformReferences(
    String^ sdkIdentifier, 
    String^ sdkVersion, 
    String^ targetPlatformIdentifier, 
    String^ targetPlatformMinVersion, 
    String^ targetPlatformVersion
)
static member GetTargetPlatformReferences : 
        sdkIdentifier:string * 
        sdkVersion:string * 
        targetPlatformIdentifier:string * 
        targetPlatformMinVersion:string * 
        targetPlatformVersion:string -> string[] 
public static function GetTargetPlatformReferences(
    sdkIdentifier : String, 
    sdkVersion : String, 
    targetPlatformIdentifier : String, 
    targetPlatformMinVersion : String, 
    targetPlatformVersion : String
) : String[]

Parameters

  • targetPlatformIdentifier
    Type: System.String

    Targeted platform for which to find SDKs.

  • targetPlatformMinVersion
    Type: System.String

    Targeted platform minimum version for which to find SDKs.

  • targetPlatformVersion
    Type: System.String

    Targeted platform version for which to find SDKs.

Return Value

Type: array<System.String[]
The target platform references.

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

GetTargetPlatformReferences Overload

Microsoft.Build.Utilities Namespace