views:

17

answers:

1

I have a VS2008 solution with multiple projects in it. I need to publish five of these projects and two of those five needs to be published twice, with two different configuration settings (a simple change to the configSource of a few web.config attributes is all I need to do).

I would like to then take the resulting 7 outputs and put 4 into one zip file and the other 3 into another and push them to a clients FTP ready for deployment.

Am I trying to do too much in one build configuration or is this reasonably possible?

A: 

I think that can be done in 2 configurations. I use the solution runner that builds all projects in the solution, then in the artifacts path section, each line would have something like:

foo\bar\bin\RELEASE\** => outputFooBar.zip
fizz\buzz\bin\RELEASE\** => outputFizzBuzz.zip

Then use the copy function to copy a configuration. I'm pretty sure you can't associate 2 runners with one build configuration.

MatthewMartin