This documentation is archived and is not being maintained.

ProcessorArchitecture Class

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


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.

Public propertyStatic memberCurrentProcessArchitectureGets the current processor architecture of the system.

Public fieldStatic memberAMD64Represents the AMD64 processor.
Public fieldStatic memberIA64Represents the IA64 processor.
Public fieldStatic memberMSILRepresents MSIL.
Public fieldStatic memberX86Represents an x86 processor.

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, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.