Monday, May 11, 2009

What does "Batch Build" in Visual Studio IDE do ?

This is another menu option I recently found very useful as I work on large solutions with multiple projects in them, which makes it really difficult to switch between configurations. So, I decided to setup a batch build config for building selective projects without having to switch between Debug and Release and the other custom configurations that I have created for my solution.



Basically, "Batch Build" allows you to build a solution in a specific 'Configuration' . You may find yourself needing to do this when you're needing to build and rebuild setup projects while testing.

You could of course run a command line compile, but a simple way to stay in the IDE and Debug configuration whilst running a Release build is the Batch Build facility.

Just go to Build --> Batch Build, then select all the Release versions of the projects you want to build (or whatever you want to build), and then click Build and you should be good to go with your configuration.

No comments: