Access App.Config File from a C# Assembly called by an executable
<p>Is it possible to access an App.Config File from a C# Class Library that is called from an exe?</p>

<p>We are running into error's and getting null when we try access the config file? I presume its to do with the originator of the call on the library, is there a work around to this other than hard coding to the file system in the Class Library?</p>

<pre><code>       try
        {
            string cleanupScripts = string.Empty;
            cleanupScripts = ConfigurationManager.AppSettings["CleanupScripts"];

            if (cleanupScripts == null)
            {
                throw new System.ApplicationException("Null was returned");
            }
        }
        catch (Exception ex)
        {
            throw (ex); 

        }
</code></pre>

<p>Cheers</p>
