Compartir a través de


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

  • 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: array<System.String[]
The target platform references.

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

GetTargetPlatformReferences Overload

Microsoft.Build.Utilities Namespace