title: How to exclude web.config when publishing with Visual Web Developer Express?
body: <p>When using the project publish feature in Visual Web Developer Express Edition 2008. How can you exclude publishing the web.config so that it doesn't overwrite the server web.config?</p>
  
  <p>I've tried setting the following in the web.config, which works for any other files ending .config but not the web.config for some reason.</p>
  
  <pre><code>&lt;buildProviders&gt;
    &lt;remove extension=".config" /&gt;
    &lt;add extension=".config" type="System.Web.Compilation.IgnoreFileBuildProvider"/&gt;
  &lt;/buildProviders&gt;
  </code></pre>