title: The root element must match the name of the section referencing the file
body: <p>I am using the "File"  attribute of AppSettings but I am getting this error</p>
  
  <blockquote>
    <p>The root element must match the name
    of the section referencing the file,
    'appSettings'</p>
  </blockquote>
  
  <p>Well I am adding a ClassLibrary1.dll and ClassLibrary1.dll.config in my windows project.
  Ny windows application is having its own <code>app.config</code></p>
  
  <pre><code>&lt;configuration&gt;
   &lt;appSettings file="ClassLibrary1.dll.config"&gt; 
      &lt;add key="main" value="main"/&gt;
    &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>thankx in advance</p>