How to cascade configuration items from dlls that referenced from application in Visual Studio 2005

I have multiple DLL projects referenced from an Application project in my solution in Visual Studio 2005.

I have settings in app.config files stored in each dll.

How do you cascade the settings from the DLL projects to the application project? 

Does it need to be done manually?

What is the intended Microsoft way of handling configurable DLL settings?


Share Send to a friend Watch Report
 
 

Posted Answers

 
207 helpful answers

They're coming to take me away, Ha-haaa!

Advanced .NET Debugging Blog

My personal blog

app.config is mainly the application's configuration. It does not stand on its own (excluding some configuration data that is stored in app.config for design-time development things like connection strings and such).

Eventually when you run your application, be it a web application or a windows application (WinForms, Windows Service, etc) it can user either a web.config or an app.config respectively.

I am not aware of a Microsoft tool that can do what you want, but there is a tool called XmlConfigMerge which is a nice tool (with source code) that can merge configuration files.

This might help you during the production of your application or during deployment. 

Posted 2006-11-29T10:51:59Z
Eran was invited by Yedda to answer this question.

Helpful?(1)
Rated as Best Answer

Sign in to participate

Got an answer for ymushkin? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

How to upgade from visual studio .net 2005 trial version without reinstall it?

Does anyone know if I can upgade from visual studio .net 2005 trial version without needed to reinstall it?
Submitted by ymushkin   3 years ago.
  • viewed 2612 times
Last answer posted 3 years ago by hmemcpy


Q:

How do I open Excel 2007 in VB.Net using Visual Studio 2005?

How do I open Excel 2007 in VB.Net using Visual Studio 2005? When I do Dim excelA as Excel.Application an intellisense opens up ...
Submitted by 10b   1 year ago.
  • viewed 1536 times
Last answer posted 10 months ago by NoisySilence



» More...

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
ADVERTISEMENT
AOL Autos Q&A is powered by Yedda an AOL Company
Copyright © 2006-2010, Yedda Inc. and respective copyright owners