Freigeben über


ProcessorArchitecture Class

Determines the correct tool in the Toolset that MSBuild should use, based on the current system's processor architecture.

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.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Utilities.ProcessorArchitecture

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

Syntax

'Declaration
Public NotInheritable Class ProcessorArchitecture
public static class ProcessorArchitecture
public ref class ProcessorArchitecture abstract sealed
[<AbstractClass>]
[<Sealed>]
type ProcessorArchitecture =  class end
public final class ProcessorArchitecture

The ProcessorArchitecture type exposes the following members.

Properties

  Name Description
Public propertyStatic member CurrentProcessArchitecture Gets the current processor architecture of the system.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.

Top

Fields

  Name Description
Public fieldStatic member AMD64 Represents the AMD64 processor.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.
Public fieldStatic member ARM Represents an ARM processor.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.
Public fieldStatic member IA64 Represents the IA64 processor.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.
Public fieldStatic member MSIL Represents MSIL.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.
Public fieldStatic member X86 Represents an x86 processor.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.

Top

Remarks

The Toolset contains several tools, such as compilers, that are used in different situations. ProcessorArchitecture determines which of these tools should be used based on the current system's architecture or CPU, such as x86, AMD64, and so forth.

For more information on Toolsets, see Standard and Custom Toolset Configurations.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Utilities Namespace