How to: Create a Release Build
The latest version of this topic can be found at How to: Create a Release Build.
To generate a release build of your program
Select Release from the Solution Configuration drop-down list, which is on the Standard toolbar.
On the Build menu, click Build.