Configuration Sharing (~file attribute)

Topics: General discussion, Logging Application Block
Feb 16, 2011 at 9:45 PM

When there are multiple projects in a solution that share similar configurations, you can extract out the similiarities into another configuration file and link to it.  An example is the file attribute for the appSettings node:


<appSettings file="Configs\sharedConfig.config">





Is there something like this for the Logging Block?  Or is there a way to share the configuration across multiple projects? I don't like the fact that a huge chunk of my configuration file is now listener and source configurations, which will be configured the same across all my projects.

Feb 17, 2011 at 1:57 AM

I believe this thread is related to your problem - which has been resolved implementing an approach something like the approach mentioned in this blog - HTH.

Gino Terrado
Global Technologies and Solutions
Avanade, Inc.