title: How to deploy project with msdeploy instead of msbuild
body: <p>Today I use msbuild to deploy a web application to an iis server. How can I do the same with msdeploy (command line)?</p>
  
  <pre><code>MSBuild.exe myproject.csproj
  /P:VisualStudioVersion=11.0
  /P:Password=pass
  /P:AllowUntrustedCertificate=true
  /P:DeployOnBuild=True
  /P:PublishProfile=deploytest
  /P:DeployIISAppPath="Default Web site"
  /P:MsDeployServiceUrl=my.server.com
  /P:Configuration=Release
  </code></pre>