|
-
Jul 27th, 2007, 06:23 AM
#1
Thread Starter
PowerPoster
unable to retrieve key App.Config
I have a class library in .NET 1.1 which uses its own app.config.
There is another application I am trying to use my assembly with, and that has its own config file entitled (applicationName.config). Mine is just "app.config".
Now, it is unable to retrieve the key from my app.config, it returns null. Any ideas whats causing the problem?
The code:
string keyValue = System.Configuration.ConfigurationSettings.AppSettings[key];
The key does exists
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|