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
sdkIdentifier
Type: System.StringThe target SDK name.
sdkVersion
Type: System.StringThe target SDK version.
targetPlatformIdentifier
Type: System.StringTargeted platform for which to find SDKs.
targetPlatformMinVersion
Type: System.StringTargeted platform minimum version for which to find SDKs.
targetPlatformVersion
Type: System.StringTargeted platform version for which to find 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.