C# .NET Application Settings and Upgrading

2020-06-12 02:46发布

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.

标签: c# .net settings
1条回答
趁早两清
2楼-- · 2020-06-12 03:02

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.

查看更多
登录 后发表回答