Domanda

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?

È stato utile?

Soluzione

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).

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top