This documentation is archived and is not being maintained.

How to: Set Build Properties (C#, J#) 

Using the Build Pane and the Build Events Pane of the Visual Studio Project Designer, you can specify build settings and events to control your project's build configuration and compilation. See Build Page, Project Designer (C#), Build Page, Project Designer (J#), and Build Events Page, Project Designer (C#, J#) for more information.

You can set compiler options, pre-build events, and post build events from the Project Designer. See How to: Specify Build Events (C#, J#) for more information about using the Project Designer to select pre-build and post-build events.


The options available in dialog boxes, and the names and locations of menu commands you see, might differ from what is described in Help depending on your active settings or edition. This Help page was written with the General Development settings in mind. To view or change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To access and modify build properties

  1. In Solution Explorer, select the project for which you want to specify the build event.

  2. On the Project menu, click <Project Name> Properties.

  3. Select the Build tab.

  4. From the Configuration list, specify your configuration: Active (Debug), Debug, or Release build. By default, this option is set to Active (Debug).

  5. Set the remaining build properties, including any advanced settings. See Advanced Build Settings Dialog Box (C#) or Advanced Build Settings Dialog Box (J#) for more information.

See Also