Export (0) Print
Expand All

ProcessorArchitecture Class

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

System.Object
  Microsoft.Build.Utilities.ProcessorArchitecture

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public static class ProcessorArchitecture

The ProcessorArchitecture type exposes the following members.

  NameDescription
Public propertyStatic memberCurrentProcessArchitectureGets the current processor architecture of the system.
Top

  NameDescription
Public fieldStatic memberAMD64Represents the AMD64 processor.
Public fieldStatic memberARMRepresents an ARM processor.
Public fieldStatic memberIA64Represents the IA64 processor.
Public fieldStatic memberMSILRepresents MSIL.
Public fieldStatic memberX86Represents an x86 processor.
Top

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.

.NET Framework

Supported in: 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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