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.

NoteNote

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.

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.

To change the build output directory:

  1. On the Project menu, click Properties.

  2. Click the Build tab.

  3. Click the Browse button next to the Output path box and select a new build output directory.

To change the build output directory:

  1. On the Project menu, click Properties.

  2. Expand the Configuration Properties tab, and click General.

  3. Change the Output Directory box to the new output directory.

To change the build output directory:

  1. On the Project menu, click Properties.

  2. Change the Output file name box to the new output directory.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft