Yes.
Select the app.config file, which will be your main configuration file (the one in the project of the main executable application will be a good choice).
Now go to another project (unit test project). Right-click and select Add Existing Item. Specify the main app.config file and add using the "As a link" option :
Add as link http://blog.codevelop.dk/pics/AddAsLink.png
Now you just need to manage one app.config file, and other projects will link to this file.
Option 2: If you do not want to control which configuration file is used by the corporate library to cache the configuration, use:
var fileSource = new FileConfigurationSource(configFilePath);
var factory = new CacheManagerFactory(fileSource);
ICacheManager manager = factory.CreateDefault();
source
share