title: ASP.NET and web.config transforms not working when developing
body: <p>I am working on an ASP.NET C# project, where I would like to make use of web.config transforms. </p>
  
  <p>I therefor installed the extension "Configuration Transform" and added a <code>Web.Debug.config</code> and <code>Web.Release.config</code>. </p>
  
  <p>Within the <code>Web.config</code> I have not declared anything specific to my application. The debug config contains my testing/developing settings while the release config contains tokens <code>#{someVar}#</code> that later will get replaced by TFS. </p>
  
  <p>When I publish my application the <code>Web.config</code> gets correctly created according to the configuration (debug/release). Also <code>Preview config transform</code> gives the correct result (besides the line breaks). </p>
  
  <p>However when starting the application from within Visual Studio 2017 with debug configuration it complains about missing tags. </p>
  
  <p>Why is that and how can I fix this? </p>
  
  <p><strong>Web.config</strong></p>
  
  <pre><code>&lt;!-- Does not contain the request tag --&gt;
  </code></pre>
  
  <p><strong>Web.Debug.Config</strong></p>
  
  <pre><code>&lt;request xdt:Transform="Insert"&gt;
      &lt;mysetting&gt;MyDevelopmentSetting&lt;/mysetting&gt;
  &lt;/request&gt;
  </code></pre>
  
  <p><strong>Web.Release.config</strong></p>
  
  <pre><code>&lt;request xdt:Transform="Insert"&gt;
      &lt;mysetting&gt;#{MyTokenThatWillGetReplacedByTFS}#&lt;/mysetting&gt;
  &lt;/request&gt;
  </code></pre>