title: Web deploy with MSBuild deploys only BIN folder
body: <p>I have a website project (not a web application) and I want to set up deployment after builds with TFS. I have set this up and got it to work. I set up the build agent machine and the server and also created a publish settings file for the website project.</p>
  
  <p>I know that the publishing agent is communicating with the IIS management service and that all permissions are set correctly, since after a build MSBuild does deploy the <code>bin</code> folder to the target. What I don't understand is why the rest of the website is not copied as well.</p>
  
  <p>I run MSBuild with the following arguments:
  <code>/p:DeployOnBuild=True /p:AllowUntrustedCertificate=True /p:PublishProfile=QA /p:VisualStudioVersion=12.0 /p:UserName=[my AD user name] /p:Password=[my AD password]</code></p>
  
  <p>I know these settings are correct, since the <code>bin</code> folder does get published, but how do I get the rest of the website project to publish as well?</p>