Wrong app config file?
<p>I have a class library that has a function with this code:</p>

<pre><code>this.apikey = ConfigurationManager.AppSettings["ApiKey"];
</code></pre>

<p>When I call this function in a console application, it says AppSettings has no keys. also it states the connection string is aspnet... whereas mine is sqlserver. So it is certainly not reading my library app config even though Im calling that in a library function.</p>

<p>Is this normal or am I doing something wrong?</p>

<p>I was hoping to avoid having to make and parse an xml and reinvent the wheel.</p>

<p>Thanks</p>
