views:

678

answers:

2

How do I publish a Web Service to a server with MSBuild?

A: 

Wouldn't it be the same way to publish an ASP.NET application?

Min
+1  A: 

Take a look at the Web Deployment Project. It is basically an msbuild file that makes it wasy to perform your deployment steps. I use it in combination with the MSBuild community tasks which has msbuild tasks for zipping files, assigning your assembly version number from your subversion repository and other commonly needed actions.

Also, the MSDeploy tool from microsoft supports command line deployment and configuration of IIS, etc, and would be easy to plug into the deployment project.

duckworth