Archive

Posts Tagged ‘x86’

How-To: Set application platform build in Visual Studio 2010

June 1, 2011 2 comments

In this article, I will show you how to set the platform build for your application. This is important because some application needs to be built specifically in order to run the application.

For example, if you are building an application for Microsoft SharePoint 2010, your platform build must be either “Any CPU” or “x64”. This is because Microsoft SharePoint 2010 is a 64-bit (x64) platform. So, the application built for it also need to have be on the same platform.

To view your current application platform build, or to change your application platform build, follow the steps below.

  1. Launch your Visual Studio 2010
    Start > All Programs > Microsoft Visual Studio 2010 > Microsoft Visual Studio 2010
  2. Right-Click on your project and select Properties

    vs_projectProperties

  3. Select the Build tab. At the Platform Target, select your preferred platform target from the drop down list

    vs_appPlatformTarget

Below is some simple description to help you decide which platform target should you choose.

Platform Target Description
Any CPU Select this to enable your application to run on all platform (32-bit, 64-bit, Itanium)
 
x86 Select this to enable your application to run on a 32-bit platform
 
x64 Select this to enable your application to run on a 64-bit platform
 
Itanium Select this to enable your application to run on a Itanium based platform

 

Hope this simple tutorial helped you. Please leave your comments if you have any suggestions or comments.

Advertisements