Hi
I'm just starting to experiment with web deployment projects, and am deploying Web Application Projects as opposed to filesystem-based sites.
I'm setting up three configs, Debug, Staging and Release. Debug is for localhost, Staging for our staging site, and Release for our production site.
I would like to know whether it's possible (and if so, how to):
* Add a confirmation dialog as a pre-build to the Release configuration, to ask the user whether they're sure they want to deploy to the live site.
* Add a pre-build task that runs a program, SubWCRev (a tool to figure out the Subversion revision number of the working copy that is being built, and replace tokens in files with it), on the MSBuild task, to substitute the revision number into the AssemblyInfo Version bit. Given that the MSBuild file will be the file being written to, _by_ this MSBuild pre-build task, will I have problems? Or can I modify an include to the MSBuild file, or something like that?
Also, it would be nice if I could enter "1.0.0.$WCREV$" into the property page's dialog, so I wouldn't need to edit the MSBuild file for this.
Thanks in advance...