views:

1593

answers:

4

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

A: 

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

Rehan Khwaja
A: 

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

roo
+6  A: 

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.

Will Dean
also, if you have builds for different languages/conditions, batch build lets you build all of them at once.
djeidot
A: 

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.

Aidan Ryan