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.
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.