How to: Configure Projects to Target Platforms
Visual Studio 2005 enables you to set up your applications to target different platforms, including 64-bit platforms. For more information on 64-bit platform support in Visual Studio 2005, see.
Targeting Platforms with the Configuration Manager
The Configuration Manager provides a way for you to quickly add a new platform to target with your project. If you select one of the platforms included with Visual Studio, the properties for your project are modified to build your project for the selected platform.
To configure a project to target a 64-bit platform
On the Build menu, click Configuration Manager.
In the Active solution platform list, select the 64-bit platform for the solution to target. If the platform does not exist in the list, select New.
In the New Solution Platform dialog box, select the 64-bit platform for the solution to target.
If you create a new name for your configuration, you may have to modify the settings in the Project Designer to target the correct platform.
If you want to copy the settings from a current platform configuration, select the platform configuration to copy settings from, and click OK.
The properties for all projects targetin the 64-bit platform are updated, and the next build of the project will be optimized for 64-bit platforms.
Targeting Platforms in the Project Designer
The Project Designer also provides a way to target different platforms with your project. If selecting one of the platforms included in the list in the New Solution Platform dialog box does not work for your solution, you can create a custom configuration name and modify the settings in the Project Designer to target the correct platform.
Visual J# projects cannot be configured to target different platforms.
Performing this task varies based on the programming language you are using. See the following links for more information:
For Visual Basic projects, see.
For Visual C# projects, see.
For Visual C++ projects, see.