我用Settings.Default.MySettingName和放大器; Settings.Default.Save保存和载入设置。当我改变我的版本号,我怎么能够从旧版本获得的设置,适用于他们我的新版本?我只是不太明白。
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.
Settings.Upgrade()看起来有一些希望 - 看看this帖子 - 并注意此方法应该由你的应用程序调用一次且仅一次
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.