You'll have to roll you're own code to perform per-assembly configuration. 
Alternatively, take a
look at Mike Woodring's collection of .NET samples one of which has code for just what 
you're
looking for.

http://www.bearcanyon.com/dotnet/

Paul

--- Chris Stefano <[EMAIL PROTECTED]> wrote:
> Hi
>
> The ConfigurationSettings.GetConfig() method only accesses the config file of the 
> app that
> started the process.
> I need to have a configuration file per assembly and I would like to use the
> System.Configuration classes to process these files instead of rolling my own.
>
> i.e   App1.exe => App1.exe.config
>       AppLib1.dll => AppLib1.dll.config
>
> Also, if calls to ConfigurationSettings.GetConfig() in AppLib1.dll could see the 
> settings of
> App1.exe aswell.
>
> Any thoughts or suggestions will be appreciated.
>
> Chris Stefano
>
> ===================================
> This list is hosted by DevelopMentor�  http://www.develop.com
> You may be interested in Guerrilla .NET, 24 March 2003, in London and Boston
> http://www.develop.com/courses/gdotnet
>
> View archives and manage your subscription(s) at http://discuss.develop.com


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
You may be interested in Guerrilla .NET, 24 March 2003, in London and Boston
http://www.develop.com/courses/gdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to