.NET ApplicationSettingsBase Should I call Upgrade() every time I load?
问题 We have application settings derived from ApplicationSettingsBase . When we push a new version of our app we need to call: // // Summary: // Updates application settings to reflect a more recent installation of the // application. public virtual void Upgrade(); (from the meta-data) Now there are some tricky ways to determine if your settings need to be upgraded such as this post which would seem to me to only ever upgrade your settings once. Now I could store the current version of my