RickStrahl/Westwind.ApplicationConfiguration — pull request #10 by dieterrosch (2014-10-10 08:33:16+00:00)
Title: Fixed issue where existing XML config file would get overwritten if XML was not well-formed

There is an issue in the XmlFileConfigurationProvider that would overwrite an existing XML file if the XML contents were not well-formed.

The fix simply checks if the file exists, and if it does, rather than overwrite it (thereby throwing away any config that was stored in it), it throws an exception.