|
-
June 4th, 2009, 03:28 PM
#1
help. how to read dll.config when adding to other application
Hi,
I just written a class library dll which generates a dll.config. When I added the project to another web application project as a reference, I don't see the configuration being read. I checked the bin\debug and even copied the dll.config to the unit test Out folder and still the same problem. I would think that the projectname.dll would automatically look for and read the projectname.dll.config. When I step through the code from the web app to the project method, the following statement inside the dll can read anything
FileName = ConfigurationManager.AppSettings["textFileName"];
Any help would be appreciated.
Thanks
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
|