共用方式為


AssignProjectConfiguration.DefaultToVcxPlatformMapping Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a semicolon-delimited list of mappings from the platform names used by most VS types to those used by .vcxprojs.

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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property DefaultToVcxPlatformMapping As String
public string DefaultToVcxPlatformMapping { get; set; }
public:
property String^ DefaultToVcxPlatformMapping {
    String^ get ();
    void set (String^ value);
}
member DefaultToVcxPlatformMapping : string with get, set
function get DefaultToVcxPlatformMapping () : String 
function set DefaultToVcxPlatformMapping (value : String)

Property Value

Type: System.String
Returns a semicolon-delimited list of mappings from the platform names used by most VS types to those used by .vcxprojs.

Remarks

E.g. "AnyCPU=Win32"

.NET Framework Security

See Also

Reference

AssignProjectConfiguration Class

Microsoft.Build.Tasks Namespace