title: C# DLL config file
body: <p>Im trying to add an app.config file to my DLL, but all attempts have failed. </p>
  
  <p>According to MusicGenesis in '<a href="https://stackoverflow.com/questions/161763/putting-configuration-information-in-a-dll">Putting configuration information in a DLL</a>' this should not be a problem. So obviously I'm doing something wrong...</p>
  
  <p>The following code should return my ConnectionString from my DLL:</p>
  
  <pre><code>return ConfigurationManager.AppSettings["ConnectionString"];
  </code></pre>
  
  <p>However, when I copy the app.config file to my console application, it works fine.</p>
  
  <p>Any ideas?</p>