What is the difference between Build Solution and Batch Build in Visual Studio 2008?

StackOverflow https://stackoverflow.com/questions/34059

  •  09-06-2019
  •  | 
  •  

Question

What is the difference between Build Solution and Batch Build in Visual Studio 2008?

Was it helpful?

Solution

The key point which seems to be missed in both the existing answers is that batch build allows you to build multiple configurations of each project. (e.g. you can build debug AND release configurations with a single operation)

With a normal build, you have to use the configuration manager to select just one configuration for each project.

OTHER TIPS

in addition to what has been mentioned so fat, batch build allows a combination of projects or configurations to be stored as a Preset for easier future access.

Batch build allows you to build any project that you select, a Solution build only builds the projects that are part of the active solution.

You can customise what projects are part of a solution build by going to tools->configuration manager

Another nice thing about batch build is that it lets you build a configuration different than the current one. Handy for solutions that take a while to switch.

Building the solution is the same as batch building all projects. Both methods respect the solution's dependencies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top