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.v3.5 (in Microsoft.Build.Utilities.v3.5.dll)

public static class ProcessorArchitecture

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.


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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5