You are right about not directly supporting its own file, but, your library
does have access to the application's configuration file. That means that
as long as those settings are in the app.config file, your library can read
them using the ConfigurationSettings class.
Another alternative might be so that your library is not dependent on the
config file and rather have the settings passed into your library classes by
the application, for instance as constructor parameters.
"Gas" <ga****@hotmail.com> wrote in message
news:eU**************@tk2msftngp13.phx.gbl...
I am developing a Class library and I want to use config file to store
some of the key-value pairs..
Heard that app.config is not supported by Class library, is it? if so,
what should I do if I need a config file?
Gas