ToolLocationHelper.GetPlatformSDKPropsFileLocation Method (String, String, 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, _
diskRoots As String, _
registryRoot As String _
) As String
public static string GetPlatformSDKPropsFileLocation(
string sdkIdentifier,
string sdkVersion,
string targetPlatformIdentifier,
string targetPlatformMinVersion,
string targetPlatformVersion,
string diskRoots,
string registryRoot
)
public:
static String^ GetPlatformSDKPropsFileLocation(
String^ sdkIdentifier,
String^ sdkVersion,
String^ targetPlatformIdentifier,
String^ targetPlatformMinVersion,
String^ targetPlatformVersion,
String^ diskRoots,
String^ registryRoot
)
static member GetPlatformSDKPropsFileLocation :
sdkIdentifier:string *
sdkVersion:string *
targetPlatformIdentifier:string *
targetPlatformMinVersion:string *
targetPlatformVersion:string *
diskRoots:string *
registryRoot:string -> string
public static function GetPlatformSDKPropsFileLocation(
sdkIdentifier : String,
sdkVersion : String,
targetPlatformIdentifier : String,
targetPlatformMinVersion : String,
targetPlatformVersion : String,
diskRoots : String,
registryRoot : String
) : String
Parameters
sdkIdentifier
Type: System.StringThe OneCore SDK identifier that defines the OneCore SDK root.
sdkVersion
Type: System.StringThe verision of the OneCore SDK.
targetPlatformIdentifier
Type: System.StringIdentifier for the targeted platform.
targetPlatformMinVersion
Type: System.StringThe min version of the targeted platform.
targetPlatformVersion
Type: System.StringThe version of the targeted platform.
diskRoots
Type: System.StringThe disk roots to search for SDKs.
registryRoot
Type: System.StringThe registry root to search for SDKs.
Return Value
Type: System.String
The location of the target platform SDK props file without the .props filename.
.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.