title: Web config transforms not working with Visual Studio online, VS2013 and Azure
body: <p>I have an MVC5 website successfully deploying a staging and production release to Azure using continuous integration from Visual Studio Online (TFS).</p>
  
  <p>I have followed this blog post<br>
  <a href="http://chriskirby.net/continuous-delivery-to-azure-websites-with-git-using-custom-deployment-script/" rel="nofollow">Continuous Delivery to Azure Websites with git using custom deployment script</a></p>
  
  <p>I have even added the build that is required to build to my publish profiles. ie.<br>
  <code>stagingbuild | any cpu</code>.</p>
  
  <blockquote>
    <p><strong>note</strong>: this was not mentioned in the above mentioned blog post.</p>
  </blockquote>
  
  <p>The sites deploy ok using by VS2013 build but the configs are not transformed. I just get the default <code>web.config</code> settings and not the transformed ones from <code>web.staging.config</code> etc.</p>
  
  <blockquote>
    <p><strong>note</strong>: I am only trying to transform one <code>appSetting</code> at the moment to get it working</p>
  </blockquote>
  
  <p>I totally understand how to write transforms so I don't think this is an issue and when I preview my transforms in VS2013 they transform in the previewer window.</p>
  
  <blockquote>
    <p><strong>note</strong>: I am not publishing directly from VS but committing my changes to repo and continuous integration kicks in from my Visual Studio Online repo.</p>
  </blockquote>