title: How to deploy applications and include IIS settings?
body: <p>I am looking for a methodology of how to deploy applications, websites and web services from <code>DEV</code> to <code>ITG</code> and <code>PRO</code>. I am not referring only to files included in the projects, but also settings from <code>IIS</code>, files/folders permissions, etc.</p>
  
  <p>For example, this weekend we had to deploy a new application from <code>ITG</code> to <code>PRO</code>, and <code>PRO AppPool</code> was set to run <code>.NET 2.0</code> (from previous version). It took us sometime to realize what was going on, leading of course to a longer downtime than expected.</p>
  
  <p>Currently we are using <code>VS 2013</code>, <code>C# 4.x</code>, <code>IIS 8.x</code> and <code>TFS 2013</code>.
  The question here is, if there is a way to deploy an application with a "single click". Is <code>MSBuild</code> suitable for this task? (I have no experience on <code>MSBuild</code>, I just found some stuff while Googling, and I am wondering if I need to go deeper). Can TFS read those settings from the source machine and copy them on the target somehow? Is there any other tool than can complete this task? We would like to stay inside Microsoft's circle, however if something else does exactly that, we might consider it.</p>