Share via


How to: Change the Build Output Directory

You can specify 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

To change the build output directory:

  1. On the menu bar, choose Project, Appname Properties.

  2. Choose the Compile tab.

  3. Choose the Browse button next to the Build output path box and specify a new build output directory.

Visual C# Projects

To change the build output directory:

  1. On the menu bar, choose Project, Appname Properties.

  2. Choose the Build tab.

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

Visual C++ Projects

To change the build output directory:

  1. On the menu bar, choose Project, Properties.

  2. Expand the Configuration Properties node, and choose General.

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

See Also

Reference

Build Page, Project Designer (C#)

General Property Page (Project)

Other Resources

Building Applications in Visual Studio