App.Config problem?

Topics: General discussion, Logging Application Block
Sep 29, 2008 at 3:00 PM
I need to use the logging functionality  for a class library, so I use app.config  file to do the configuration, but after I deploy the dll to GAC, where should the *.dll.config  go to make the dll funciton?

Or i wonder if  it is possible for me to use EntLib without using configuration files?

I hope that one expert can give me one sample for how to use Logging functionality in a class library which is going to deploy to GAC?

Sep 30, 2008 at 8:36 AM
Libraries don't have config files. AppDomains do.

You need to put the configuration information into the app.config file of the application that is using your library. Doesn't matter if your library is GAC'ed or not.