.config file for Library assembly

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...
 
B

Ben S. Stahlhood II

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
 
C

Christopher Kimbell

You can add the sections to the config file of the application that loads
your library.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top