When working with Isolated Storage on the phone you sometimes have difficulty “seeing” what is located in the IsoStore for your application. Luckily we have a tool that will help you take snapshots of the Sandboxed Isolated Storage for your application. It is a command line tool called ISETool.exe and it is located in:
(for 32 bit os) c:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\IsolatedStorageExplorerTool
(for 64 bit) c:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\IsolatedStorageExplorerTool
To run the tool, bring up a command line and change the directory to the location above.
Then run the ISTool.exe with the following parameters
◦ts – take snapshot (rs for restore) ◦xd – emulator ◦guid – product GUID from WPAppManifest.xml ◦desktop dir – where to copy the isolated storage files
It will download the contents of your Isolated Storage for that application to the folder you specified
You can also restore to the phone or emulator by doing the reverse.
ISETool.exe rs xd 11111111-2222-3333-4444-555555555555 “C:\snapshots\IsolatedStore”
This can also be used for local databases as well as restoring your environment to a specific state. Let me know if you have any questions.
Camera Picture by Capt Kodak flickr cc
Subscribe in a reader
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in anyway.