How to: Change the Build Output Directory
Visual Studio provides a way for you to modify the location of output generated by your project. Due to differences in the Project Designers for the different languages, the procedure for modifying the build output directory varies.
Note
The Output file name box in the Setup project property page differs from the Output Path box in other project property pages in that it changes only the location of the Setup.exe file, not the project files. For more information, see Build, Configuration Properties, Deployment Project Properties Dialog Box.
Visual Basic Projects
For Visual Basic projects, changing the build output directory is done through the Compile Pane of the Project Designer. For more information, see How to: Change the Build Location for an Application.
Visual C# Projects
To change the build output directory:
On the Project menu, click Properties.
Click the Build tab.
Click the Browse button next to the Output path box and select a new build output directory.
Visual C++ Projects
To change the build output directory:
On the Project menu, click Properties.
Expand the Configuration Properties tab, and click General.
Change the Output Directory box to the new output directory.
Setup Projects
To change the build output directory:
On the Project menu, click Properties.
Change the Output file name box to the new output directory.
See Also
Reference
Build Page, Project Designer (C#)
General Property Page (Project)