Hello,
Our main .NET application uses standard .NET XML config files for storing all the settings. Lets call our app: APPMAIN. As you probably know this means that all default settings are stored in the readonly app.config file. At the moment the application changes a user setting, a new file will be generated (user.config) that contains only this new value. So far so good.
I want to create a second application that can change some of the user configurable settings and leave some as they are. If I just load the user.config of APPMAIN then I can only see the settings that the user changed once, the settings that did not change are invisible.
How should I proceed? 1) Load the user configurable settings from app.config. Merge these with the already existing user.config. Change the settings I want. Write back all settings to the user.config. 2) Another much easier method that I don't know about?
I am tempted to go back to the registry for some settings I want to configure from an external app.... this can not be the intention!
Thanks,
Erik