.config file for Library assembly

  • Thread starter Thread starter Erick
  • Start date Start date
E

Erick

Hi,

I have a Library assembly which I have added a config file, and a section
handler but at the time to compile it the config file is not placed into the
bin\debug or release folder, does any one know why I cannot use a config.
file into a library assembly?

Thanks for any help received.

Cheers...
 
It is not supported at this time by default. You will have to write your
own classes to handle reading configuration files for assembly class
libraries. I wrote one that works just like the FCL version, but allows
reading from Assemblies or Application config files.

Take care,
Ben S. Stahlhood II
 
You can add the sections to the config file of the application that loads
your library.

Chris
 
Back
Top