G
Guest
I have deployed my application with ClickOnce, and it works fine.
There are a couple of user settings that the user is allowed to change
through a settings form. Also works fine.
BUT, when I did the most recent deploy all user settings were erased and set
back to their default values. NOT FINE!
I quote from the blog on: http://blogs.msdn.com/rprabhu/articles/433979.aspx
"Q: Okay, but how do I know when to call Upgrade?
A: Good question. In Clickonce, when you install a new version of your
application, ApplicationSettingsBase will detect it and automatically upgrade
settings for you at the point settings are loaded. In non-Clickonce cases,
there is no automatic upgrade - you have to call Upgrade yourself. ....."
So, normally the sepcified user settings should be upgraded automatically,
and I am pretty sure I got that behaviour before.
What can I possible have done?
How can I get it back?
There are a couple of user settings that the user is allowed to change
through a settings form. Also works fine.
BUT, when I did the most recent deploy all user settings were erased and set
back to their default values. NOT FINE!
I quote from the blog on: http://blogs.msdn.com/rprabhu/articles/433979.aspx
"Q: Okay, but how do I know when to call Upgrade?
A: Good question. In Clickonce, when you install a new version of your
application, ApplicationSettingsBase will detect it and automatically upgrade
settings for you at the point settings are loaded. In non-Clickonce cases,
there is no automatic upgrade - you have to call Upgrade yourself. ....."
So, normally the sepcified user settings should be upgraded automatically,
and I am pretty sure I got that behaviour before.
What can I possible have done?
How can I get it back?