title: Teamcity - Transform web.config and password.config upon build using MSBuild SlowCheetah 2.5.48
body: <p>I'm using TeamCity (<code>TeamCity Enterprise 10.0.4 (build 42538)</code>) as a build server and SlowCheetah for config transformations. My solution consist of one <code>ASP.NET Web API 2</code> project and one <code>Console application</code>. </p>
  
  <p>For my console application the transformation works flawlessly for Release configuration. This is done via the <code>Visual Studio</code> runner set for <code>Microsoft Visual Studio 2015</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/3PXAr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3PXAr.png" alt="enter image description here"></a></p>
  
  <p>However for publishing I use the MSBuild runner instead and here transformation does not work at all. I need to transform both a web.config file and separate password.config file. I'm using SlowCheetah 2.5.48. When publishing through Visual Studio in my development environment transformation works flawlessly as well.</p>
  
  <p><a href="https://i.stack.imgur.com/VxfY2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VxfY2.png" alt="enter image description here"></a></p>