title: How do I get my .NET library to inherit its configuration file settings from the requested app?
body: <p>I compile my .NET Library, and it creates <code>mylib.dll.config</code>.</p>
  
  <p>But when I modify or even delete this file, it is clearly not being used. </p>
  
  <p>My ASP.NET website has the exact same settings in it anyway, so is it possible to inherit the connection string?</p>
  
  <p>That is, the .NET library inherits its connection string from my ASP.NET app configuration.</p>
  
  <p>I call my settings from my library using:</p>
  
  <pre><code>mylib.Properties.Settings.Default.dbConnString;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>Properties.Settings.Default.dbConnString;
  </code></pre>
  
  <p>My website has an identical setting:</p>
  
  <pre><code>myweb.Properties.Settings.Default.dbConnString;
  </code></pre>
  
  <p>The library is running off its compile time settings. Not the web settings.</p>