Win8 Metro - Reset Roaming & Local Settings?
5 answers
The data is stored locally in %localappdata%\Packages\<packageID>
. You can remove it from the client right from there. For more information, see Accessing Application Data .
+3
source to share
Better late for the party, but never, but:
You can do this by right-clicking on your application in the solution explorer, choosing Properties, going to the Debug tab and clicking Uninstall and then reinstalling my package.
It should be at least nuclear stuff from LocalSettings, but I don't think it affects the Roaming stuff.
+2
source to share
It doesn't look like there is a way inside Visual Studio to do this, but there is a way to detect debug mode and also access files directly from Windows Explorer. Therefore, you have the following options:
- Leave your code that dumps the datastore but detects debug mode by setting the Debug.debuggerEnabled property when your application starts. If you want to clean up everything I would recommend checking for a function
clearAsync
that will destroy your local data store for the application. For more information see this link . - @JPAlioto option suggested to manually empty the folder. You can do this as a build step quite easily.
0
source to share