PDA

View Full Version : Can I specify more than 1 Configuration for Make VS.NET Action?


Dave_Novak
07-18-2006, 04:13 PM
I would like to find out more information about the ability to specify more than 1 "Configuration" for the Make VS.NET Action. Please note that I am using Visual Studio 2005.

Here is an example scenario. Suppose my solution contains the following configurations:
1) Debug|.NET
2) Debug|Any CPU
3) Debug|Win32
4) UnitTest Debug|Any CPU
5) ProgrammerOnly Debug|Any CPU
6) Release|.NET
7) Release|Any CPU
8) Release|Win32
9) UnitTest Release|Any CPU

If I set a breakpoint at this build step, I can open up the project/solution tab for this step and VBP will correctly enumerate the configuration choices. But from the best I can tell, my choices are either “All” or one of the configurations in the list.

So here’s my question: How would I go about building the following configurations in this step?
1) Debug|.NET
2) Debug|Any CPU
3) Debug|Win32
4) UnitTest Debug|Any CPU

kinook
07-18-2006, 06:16 PM
(UnitTest )?Debug.*

http://www.visualbuild.com/Manual/vsnetprojectsolutiontab.htm
http://www.visualbuild.com/Manual/regex.htm

Dave_Novak
07-19-2006, 08:58 AM
That works great -- I just need to bone up on regular expression.

Thanks!