grs,
I'm not from MS, but I can tell you definitely that a library can not
have it's own application configuration section. The config file is to have
a single place to modify all aspects of the application. If you were able
to change these settings somewhere else, then you are basically going
against the wishes of the user of the client executable, and that generally
is a no no. You should create a custom configuration section in your
app.config file, and have your library read the settings from there (most
libraries in the framework do this already).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"grs" <gs****@budgetext.com> wrote in message
news:O5**************@TK2MSFTNGP14.phx.gbl...
Can a class library have a app.config file. Reason for asking is that the
microsoft application blocks all read from myApp.exe.config. How can you
use
the application blocks if you do not have an app.config file.
Wish someone from microsoft would answer this, I am at a loss.
thanks
grs