10.3.2.2 Build and Run Options

Determines whether changed files automatically save when building a project or its solution. It also determines the maximum number of Visual C++ projects that can build at the same time and certain default behavior on Run. Click Options, Projects, and Solutions, and then Build and Run on the Tools menu to access this dialog box.

Save All Changes

Automatically saves changes to the solution file and all project files that were changed since the last build when you press F5 or click Start on the Debug menu or Build on the Build menu. No prompt is given. Items are saved with their current names. By default, this option is enabled.

Save Changes to Open Documents Only

Automatically saves changes to all open documents when you press F5 or click Start on the Debug menu or Build on the Build menu. No prompt is given.

Prompt to Save All Changes

When selected, it displays a dialog box that asks whether you want to save changes to the solution and project items when you press F5 or click Start on the Debug menu or Build on the Build menu. The Save As dialog box is displayed so you can assign a name and location to your project. The project runs by using the memory image that contains your changes, but the changes are not saved if this option is not selected.

Don't Save Any Changes

The integrated development environment (IDE) runs the code version in the open documents and does not save changes to open documents when running the project.

Maximum Number of Parallel Project Builds

Specifies the maximum number of projects that can build at the same time. The maximum number of parallel projects is set automatically to the number of CPUs of your computer to optimize the build process. The maximum is 32.

Only Build Start-up Projects and Dependencies on Run

When selected, pressing F5 or clicking Start on the Debug menu or Build on the Build menu only builds the start-up project and dependencies. When this option is cleared, pressing F5 builds all projects, dependencies, and solution files. By default, this option is cleared.

Always Build

The message box is not displayed, and the out-of-date project configuration is built. This option is set when you select Do not show this dialog again in the message, and then click Yes.

Never Build

The message box is not displayed, and the out-of-date project configuration is not built. This option is set when you select Do not show this dialog again in the message, and then click No.

Prompt to Build

Displays the message box every time a project configuration is out of date.

Prompt to Launch

Displays the message box every time build errors occur.

Do Not Launch

The message box is not displayed, and the application is not started. This option is set when “Do not show this dialog again” is selected in the message box, and then click No.

Launch Old Version

The message box is not displayed, and the newly built version of the application is not started. This option is set when “Do not show this dialog again” is selected in the message box, and then click Yes.

For New Solutions Use the Currently Selected Project As the Start-up Project

New solutions use the currently selected project as the start-up project if chosen.

MSBuild Project Build Output Verbosity

Sets the verbosity level for the build output. For more information, see the /verbosity switch in MSBuild Command-Line Reference.

MSBuild Project Build Log File Verbosity

Sets the verbosity level for the build log file. For more information, see the /verbosity switch in MSBuild Command-Line Reference.