title: In Visual Studio 2008 - how long before a web.config change "takes"?
body: <p>I have some settings in a web.config file that I want to override when I'm testing the ASP.NET app locally on my machine.  The main part looks like this:</p>
  
  <pre><code>  &lt;appSettings file="WebAppSettings.config"&gt;
      &lt;add key="DEBUG" value ="False"/&gt;
      &lt;add key="PROD" value="TrueInMainConfigFile"/&gt;
    &lt;/appSettings&gt;
  </code></pre>
  
  <p>Now, in my local "WebAppSettings.config" I have:</p>
  
  <pre><code>&lt;appSettings&gt;
    &lt;remove key="DEBUG"/&gt;
    &lt;remove key="PROD"/&gt;
    &lt;add key="DEBUG" value ="True"/&gt;
    &lt;add key="PROD" value="False"/&gt;
  &lt;/appSettings&gt;
  </code></pre>
  
  <p>I had JUST changed the value of "PROD" from True to False and saved the file.  Yet, when I rebuild and run the site (again, on my local machine with IIS, not Cassini), the value of System.Configuration.ConfigurationManager.AppSettings("PROD") still returns "True" instead of "False".</p>
  
  <p>Sometimes letting it "sit for a long time" solves this problem.  However, for the most part, I have to close and re-open VS2008 in order to get the new value to 'take'.</p>
  
  <p>What's going on here?</p>