|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Incrementing the Assembly Version clears the user settingsAny idea why?
In Visual Studio 2005 when I rebuild my solution and run it, the user-scoped settings are saved and reloaded every time. However when I increment the build part of the Assembly version in the application properties, rebuild and then start up, all the user-scroped settings have been reset. Is this meant to happen? Thanks Found the fix on http://blogs.msdn.com/rprabhu/articles/433979.aspx
Add a user-scoped setting called CallUpgrade with a default of True. ' Check if we need to call upgrade on the settings. If (My.Settings.CallUpgrade) Then My.Settings.Upgrade() My.Settings.CallUpgrade = False End If Show quote "Sam B" <s**@sadas.com> wrote in message news:OjvwfOlMGHA.1088@tk2msftngp13.phx.gbl... > Any idea why? > > In Visual Studio 2005 when I rebuild my solution and run it, the user-scoped > settings are saved and reloaded every time. > > However when I increment the build part of the Assembly version in the > application properties, rebuild and then start up, all the user-scroped > settings have been reset. > > Is this meant to happen? > > Thanks > > |
|||||||||||||||||||||||