Is there a simple and straightforward way to build many VS2008 solutions in a batch? I would like to build over 50 at once as Release, and perhaps also as Debug builds.
The trouble with just using MSBuild on the command line is that it is very difficult to find out which solutions/projects failed to build, information which is essential. Does anyone have a good suggestion?
You can call devenv (Visual Studio) from a batch file to build your project, for instance:
This will run quietly without showing the IDE. The logfile will receive the messages you normally see in the output window building from within the VS-IDE.
Returncode is 0 if the build is ok, otherwise 1.
Here is a list of all devenv command line switches