title: Apply a web.config transform within a Teamcity Build Step
body: <p>I am trying to run a MSBuild task on team city that also transforms a <code>web.casper.config</code> file.</p>
  
  <p>I have tried various switches but can;t get this right. Which most likely means there is a different way to achieve my desired result (like publish).</p>
  
  <p>I have tried:-</p>
  
  <p><code>/t:TransformWebConfig
  /p:TransformWebConfig=true</code></p>
  
  <p>Basically I want to
   - BUILD website.csproj into a custom dir
   - THEN apply a web.config transform on web.casper.config</p>
  
  <p>Can anyone help?</p>
  
  <p><a href="https://i.stack.imgur.com/x95UT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x95UT.png" alt="Team city settings"></a></p>