title: Asp.net Webdeployment Project override applicationSettings
body: <p>I got a web deyploment project for a web application project in vs 2008.
  While building the web deployment project, I want to replace properties in the web.config.</p>
  
  <p>My settings are autogenrated by the deisgner.</p>
  
  <pre><code>&lt;applicationSettings&gt;
   &lt;NAMESPACE.Properties.Settings&gt;
     &lt;setting name="Testenvironment" serializeAs="String"&gt;
      &lt;value&gt;True&lt;/value&gt;
     &lt;/setting&gt;
  
    &lt;/NAMESPACE.Properties.Settings&gt;
  &lt;/applicationSettings&gt;
  </code></pre>
  
  <p>In the config file which contains the settings for the specific server looks like the following:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;applicationSettings&gt;
      &lt;NAMESPACE.Properties.Settings&gt;
         &lt;setting name="Testenvironment" serializeAs="String"&gt;
          &lt;value&gt;False&lt;/value&gt;
         &lt;/setting&gt;
      &lt;/NAMESPACE.Properties.Settings&gt;
  &lt;/applicationSettings&gt;
  </code></pre>
  
  <p>Sadly, this does not work. I get an error "The format of a configSource file must be an element containing the name of the section" that highlights the second line (2nd example code).</p>
  
  <p>How must the Tag be named in order to make evertything work?</p>
  
  <p><strong>Edit</strong>: Deleting the "applicationSetting"-Tags does not work either.</p>