C# .NET Application Settings and Upgrading

2020-06-12 02:54发布

问题:

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.



标签: c# .net settings