Build Customization
still continues but uses the last saved version of the file. This option can be good to use when you want to know when you’ve made changes (perhaps inadvertently) to the source code.
Maximum number of parallel project builds: This controls how many simultaneous build processes can be active at any one time (assuming the solution being compiled has multiple projects). This option only affects how C++ solutions are built and has no effect on Visual Basic or C# projects.
Only build startup projects and dependencies on Run: This option only builds the part of the solution directly connected to the startup projects. This means that any projects that are not dependencies for the startup projects are excluded from the default build process. This option is active by default, so if you’ve got a solution that has multiple projects called by the startup projects through late-bound calls or other similar means, they will not be built automatically. You can either deactivate this option or manually build those projects separately.
On Run, when projects are out of date: This option is used for C++ projects only and gives you three options for out-of-date projects (projects that have changed since the last build). The default is Prompt to Build, which gives you an option to build for each out-of-date project. The Always Build option forces the build process to occur whenever you run the application, while the Never Build option always uses the previous build of out-of-date projects. Note that
this only applies to the Run command, and if you force a build through the Build menu, projects are rebuilt according to the other settings in the build configuration and on this Options page.
On Run, when build or deployment errors occur: This controls the action to take when errors occur during the build process. Despite official documentation to the contrary, this option does indeed affect the behavior of builds in Visual Basic and C#. Your options here are the default Prompt to Launch, which displays a dialog prompting you for which action to take; Do Not Launch, which does not start the solution and returns to design time; and Launch Old Version, which ignores compilation errors and runs the last successful build of the project.
The option to launch an old version enables you to ignore errors in subordinate projects and still run your application; but because it doesn’t warn you that errors occurred, you run the risk of getting confused about what version of the project is active.
Note that when you use the Prompt to Launch option, if you subsequently check the “Do not show this dialog again” option in the prompt dialog, this setting will be updated to either Do Not Launch or Launch Old Version depending on whether you to choose to continue or not.
For new solutions use the currently selected project as the startup project: This option is useful when you’re building a solution with multiple projects. When the solution is being built, the Visual Studio build process assumes that the currently selected project is the startup project and determines all dependencies and the starting point for execution from there.
MSBuild project build output verbosity: Visual Studio 2005 uses the new MSBuild engine for its compilation. MSBuild produces its own set of compilation output, reporting on the state of each project as it’s built. You have the option to control how much of this output is reported to you:
By default, the MSBuild verbosity is set to Minimal, which produces only a very small amount of information about each project, but you can turn it off completely by setting this option to Quiet, or expand on the information you get by choosing one of the more detailed verbosity settings.