title: C# issues accessing another project's app.config
body: <p>I have two projects, one is an application (exe) and the other is a library (dll). I am loading the library dynamically from the application. I am trying to access the exe's app.config from within the DLL. Here is the code from the DLL:</p>
  
  <pre><code>config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  object abc = config.Sections["MySection"];
  </code></pre>
  
  <p>If I have a reference from the program project to the library project, then the above code works fine. But if I remove the reference I get a System.IO.FileNotFoundException. </p>
  
  <p>The config's HasFile property is true, but it seems like it can't find the section or something. So I thought maybe it's using a different aap.config, and I tried to manually specify the app.config path into OpenExeConfiguration, but I still get the same error.</p>
  
  <p>So how can I access the program's app.config from a DLL, without having a reference to that DLL from the program project?</p>