I am using ConfigurationManager.OpenMappedExeConfiguration() to specify a roaming user config file that I can easily persist settings too. However, I find it is extremely finicky, when adding, removing, or renaming settings or sections. ie, when adding, if there is a new setting that is not also in the xml file, it throws an exception. When removing or renaming, if there is a setting in the xml file that is not in the mapped class, it throws an exception.
It is almost as if I will need to write some sort of helper function that compares the Xml file to the mapped setting classes, and add/remove items from the xml file if it does not match...
Or, am I missing something
Thanks,
Dan