Archive
How-To: Set application platform build in Visual Studio 2010
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.
- Launch your Visual Studio 2010
Start > All Programs > Microsoft Visual Studio 2010 > Microsoft Visual Studio 2010 - Right-Click on your project and select Properties
- Select the Build tab. At the Platform Target, select your preferred platform target from the drop down list.
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.
How-To: Remove Code Snippets in Visual Studio 2010
In this article I will show you how to remove a custom code snippet which is already installed in your Visual Studio 2010.
- Launch your Visual Studio.
Start > All Programs > Microsoft Visual Studio 2010 > Microsoft Visual Studio 2010 - Click on Tools > Code Snippet Manager
By default is Ctrl-K, Ctrl-B - Select your development language from the drop down list at the top-left of the pop-up window.
- Custom installed snippets will be in the folder “My Code Snippets”. Click on the snippets and the location of the file in your computer is displayed at the Location bar. Copy the location and open it in Windows Explorer.
- To remove snippets, navigate to the folder where the snippet file is located and just delete it. You can verify it again by re-launching the “Code Snippet Manager”.
Hope this simple tutorial helped you. Please leave your comments if you have any suggestions or comments.