How to: Change the Build Output Directory
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
You can specify the location of output on a per-configuration basis (for debug, release, or both) generated by your project.
If you have a Setup project see the note at the end of this article.
Changing the Build Output directory
To change the build output directory
On the menu bar, choose Project, Appname Properties. You can also right-click the project node in the Solution Explorer and select Properties.
In the configuration drop-down at the top, choose the configuration whose output file location you want to change (debug, release, or all).
In a Setup Project, the Output file name box changes only the location of the Setup.exe file, not the location of the project files. For more information, see Build, Configuration Properties, Deployment Project Properties Dialog Box.