1

I've got a solution with multiple projects. Now every project has its own configuration and nearly all projects do even have multiple configurations. When building the projects I want that all configurations that do exist are built. Is there a way to do this automatically without picking every configurations by hand and start the building process over and over again?

Stan
  • 721
  • 10
  • 24

2 Answers2

2

To do it by hand in MSVC GUI you can do the following: 1. Right-click on the solution, in the popup menu go to the menu item "Batch build..." 2. In the dialog that will appear, do "Select all" or just select the projects/configurations you need. 3. Click button "Build" (or "Rebuild" if you prefer a clean build).

Michael Simbirsky
  • 3,045
  • 1
  • 12
  • 24
  • Thank you! I didn't see that option in the IDE. But as far as I have seen I can't save such a batch, do I? Therefore I would always have to choose manually between Debug- and Release configurations which is not practicable in with a lot of Configurations. – Stan Dec 17 '13 at 09:34
0

You could write an MSBuild or NAnt script (or even a plain old batch file) to compile all the configurations so you don't have to do it all by hand.

Community
  • 1
  • 1
snips-n-snails
  • 637
  • 5
  • 22