IsolatedStorage: Delete preferences in uninstaller?

前端 未结 1 1884
迷失自我
迷失自我 2021-01-24 00:24

Our application saves user preferences in isolated storage.

However,it\'s proving tricky to remove these files from our uninstaller!

I can enumerate all of the f

相关标签:
1条回答
  • 2021-01-24 00:39

    In case anybody else ever wants to know the answer...

    It appears the best solutions might be:

    • Move the Isolated Storage code into a separate Assembly which can be called from both the main application and the uninstaller, so that they can both access the data.

    • Add a means for executing the main application with a command line flag that instructs it to delete the Isolated Storage files and exit, then call it from the uninstaller.

    • or save all this messing about and ditch Isolated Storage altogether

    0 讨论(0)
提交回复
热议问题