Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# .NET Application Settings and Upgrading

Tags:

c#

.net

settings

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.

like image 563
Luke Avatar asked Aug 07 '10 07:08

Luke


1 Answers

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.

like image 184
Will A Avatar answered Nov 04 '22 04:11

Will A