title: Deployment with WebDeploy msbuild
body: <p>My Goal: use webdeploy to deploy builds from TeamCity to remote IIS server</p>
  
  <p>I am trying to figure out webdeploy but have had little luck. Currently to my understanding this is the work flow of webdeploy.</p>
  
  <blockquote>
    <p>msbuild builds the project -> launches webdeploy tool -> sends data to
    remote IIS server.</p>
  </blockquote>
  
  <p>I haven't seen any indication of this when building my project using paramaters. There is nothing in the build log to indicate that any deployment is going on.</p>
  
  <pre><code>C:\Windows\Microsoft.NET\Framework\v4.0.30319&gt;msbuild \src\TestWebsiteApp\TestWe
  bsiteApp.sln /p:Configuration=release /p:DeployOnBuild=True /p:DeployTarget=MSDe
  ployPublish /p:MSDeployPublishMethod=RemoteAgent /p:MsDeployServiceUrl=localhost
   /p:username=myusername /p:password=mypassword
  </code></pre>
  
  <p>Could someone layout how webdeploy works and what are the requirements for it. What I've gathered is it needs msbuild v4.0 and IIS6 + </p>
  
  <p>Any information / guidance would be much appreciated, thanks. </p>