Class libraries do not automatically load an "app.config" file as do
executable (exe) processes. You can have your class library acess the
elements in the web.config as long as you have set a reference to the
System.Configuration namespace in your library assembly.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
> Hi all,
>
[quoted text clipped - 7 lines]
>
> Cheers.
Stimp - 06 Feb 2008 09:50 GMT
> Class libraries do not automatically load an "app.config" file as do
> executable (exe) processes. You can have your class library acess the
> elements in the web.config as long as you have set a reference to the
> System.Configuration namespace in your library assembly.
this is actually for the sake of setting up SubSonic DAL generator in
the class library, I believe it requires a local app.config
(as shown in: http://www.wekeroad.com/ss_setup2.html)
I ended up just manually adding the app.config as a text file and it
seems to have worked
Cheers.

Signature
fiddlewidawiddum