Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 463
Agnel Kurian Avatar asked Aug 29 '08 06:08

Agnel Kurian


People also ask

What is batch build in Visual Studio?

The Batch Build dialog allows Build, Rebuild, and Clean operations to be carried out on one or more configurations in a Visual Studio project, solution, or workspace.

What does it mean to build a solution in Visual Studio?

Build Solution - compiles code files (dll and exe) that have changed. Rebuild Solution - Deletes all compiled files and Compiles them again regardless of whether or not the code has changed.

What is the difference between build Solution and build project?

Build solution will build any projects in the solution that have changed. Rebuild builds all projects no matter what, clean solution removes all temporary files ensuring that the next build is complete.

What is difference between build and rebuild in Visual Studio?

Choose Build All to compile the files and components within the project that have changed since the most recent build. Choose Rebuild All to "clean" the solution and then builds all project files and components. Choose Clean All to delete any intermediate and output files.


2 Answers

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.

like image 145
Will Dean Avatar answered Oct 07 '22 14:10

Will Dean


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

like image 33
Abdalla Elmedani Avatar answered Oct 07 '22 13:10

Abdalla Elmedani