views:

51

answers:

0

I feel like i am going in circles here, but i am so close. Here's what i want to happen: when i publish the website, i would like it to build two deployment projects that i have (staging and production), zip them up into two separate files, and then move my compiled site to the server along with the two two zip files.

The only reason i have two deployment projects is to ensure that i always have a staging and production build ready, and they are in sync. The only thing that changes is some web.config settings.

I added some post-build event commands to actually zip up the files, but my build order is screwed up.

Is what i am trying to do possible with the tools visual studio provides, or am I better of just learning NANT?