Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- sdkIdentifier 
 Type: System.String- The target SDK name. 
- sdkVersion 
 Type: System.String- The target SDK version. 
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.