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

Re: .config file for Library assembly by Ben

Ben
Thu Jan 22 22:07:32 CST 2004

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


"Erick" <email@newsgroup.com> wrote in message
news:%23BZY8nV4DHA.2332@TK2MSFTNGP10.phx.gbl...
> 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...
>
>



Re: .config file for Library assembly by Christopher

Christopher
Fri Jan 23 12:31:27 CST 2004

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

Chris


"Erick" <email@newsgroup.com> wrote in message
news:#BZY8nV4DHA.2332@TK2MSFTNGP10.phx.gbl...
> 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...
>
>