How do you keep user.config settings across different assembly versions in .net?

ApplicationSettingsBase has a method called Upgrade which migrates all settings from the previous version. In order to run the merge whenever you publish a new version of your application you can define a boolean flag in your settings file that defaults to true. Name it UpgradeRequired or something similar. Then, at application start you check … Read more