问题
I use Settings.Default.MySettingName & Settings.Default.Save to save and load settings. When I change my version number how am I able to get the settings from the old version and apply to them my new version? I just can't quite figure it out.
回答1:
Settings.Upgrade() looks like it has some promise - check out this post - and note that this method should be called once-and-only-once by your application.
来源:https://stackoverflow.com/questions/3429558/c-sharp-net-application-settings-and-upgrading