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?
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.
The search for people who can answer your question continues for as long as needed - until you find the answer you were looking for.
When an answer is posted by someone who was invited (byYedda or by yourself) to answer your question, their answer is marked with a yellow "invited by Yedda".
To be invited to answer other people's questions in your areas of knowledge and interest, be sure to list your favorite topics:
» My Settings My Topics.
Of course, the more helpful your answers are, the more likely you are to be invited to future questions...
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).
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them