Using MSBuild to Publish Web Services
2 answers
Take a look at the Web Deploy Project . It's basically the msbuild file that makes it go through the deployment steps. I use it in conjunction with MSBuild Community Tasks , which have msbuild tasks to zipping files, assigning your build version number from your subversion repository, and other necessary steps.
In addition, Microsoft's MSDeploy tool supports deploying and configuring IIS command line, etc., and will easily connect to your deployment project.
+1
source to share