Share via


TargetPlatformSDK Constructor

Creates a new instance of a target platform SDK class.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Sub New ( _
    targetPlatformIdentifier As String, _
    targetPlatformVersion As Version, _
    path As String _
)
public TargetPlatformSDK(
    string targetPlatformIdentifier,
    Version targetPlatformVersion,
    string path
)
public:
TargetPlatformSDK(
    String^ targetPlatformIdentifier, 
    Version^ targetPlatformVersion, 
    String^ path
)
new : 
        targetPlatformIdentifier:string * 
        targetPlatformVersion:Version * 
        path:string -> TargetPlatformSDK
public function TargetPlatformSDK(
    targetPlatformIdentifier : String, 
    targetPlatformVersion : Version, 
    path : String
)

Parameters

  • targetPlatformIdentifier
    Type: System.String

    The identifier of the target platform.

  • targetPlatformVersion
    Type: System.Version

    The version of the target platform.

.NET Framework Security

See Also

Reference

TargetPlatformSDK Class

Microsoft.Build.Utilities Namespace