locked
Local settings in Application data disappeared after upgrade

    Question

  • Hi, I save some user preferences info into local settings, but after upgrade the app, I find the setting info lost.

    Save the data to : Windows.Storage.ApplicationData.current.localSettings

    Will metro app keep setting info after upgrade?

    If not, how to keep user preference, I need to keep it even after the app upgrade.


    Thursday, May 16, 2013 3:07 AM

Answers

  • What do you mean by "upgrade"?

    LocalSettings will persist through upgrades from the store. They will be removed when the app is uninstalled. Also consider using roaming settings.

    Depending on your settings and changes, VS may uninstall the app when deploying for testing.

    --Rob

    • Marked as answer by mountain2012 Tuesday, May 21, 2013 3:28 AM
    Thursday, May 16, 2013 2:41 PM
    Owner