Mike, you are right - what a bummer. Now I will have to group some of my
configuration parameters in a config file where they do not have too much
logic.
I will also look at the EntLib Configuration Application Block to see if I
can achieve this through some custom sections.
Thanks anyway for sharing your knowledge.

Regards,
Eddie


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Mike Woodring
Sent: Tuesday, December 13, 2005 3:37 PM

> Yes, but I can have the app configs defined like this:
>
> <!-- Dll1.extra.config -->
> <appSettings>
>   <add key="key1" value="value1"/>
> </appSettings>
>
> <!-- Dll2.extra.config -->
> <appSettings file="Dll1.extra.config">
>   <add key="key2" value="value2"/>
> </appSettings>
>
> and
>
> <!-- App.exe.config -->
> <appSettings file="Dll2.extra.config">
>   <add key="key3" value="value3"/>
> </appSettings>
>

No - the file attribute is only supported on the topmost config file.  If
you try the above, you'll see that you get a configuration exception.

-Mike
Bear Canyon Consulting LLC

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

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

Reply via email to