Udostępnij za pośrednictwem


How to: Change the Build Location for an Application

The Build output path for a project specifies the directory into which output generated by the project will be placed. By default, this is set to the Bin directory in the current project directory structure.

To change the build location for a project

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. If you are using Visual Basic, click the Compile tab. If you are using C#, click the Build tab.

  3. In the Build output path (Visual Basic) or Output path (C#) box, type any valid file or Universal Naming Convention (UNC) path, or click the ellipsis button and browse to a directory.

See Also

Reference

Build Page, Project Designer (C#)

Compile Page, Project Designer (Visual Basic)

Other Resources

Managing Compilation Properties

Change History

Date

History

Reason

September 2009

Modified procedure so that it works with C#.

Customer feedback.