9

When we use simulator and store files in isolated storage. Where is the file actually stored on computer? I mean the path.

peSHIr
  • 6,279
  • 1
  • 34
  • 46
Vaysage
  • 1,326
  • 2
  • 15
  • 30
  • http://stackoverflow.com/questions/20368406/where-is-isolated-storage-from-wp8-emulator-located-on-pcsolved check this link.. – faroke moahmed Dec 04 '13 at 06:54

5 Answers5

9

If by "simulator" you mean the emulator then this data is not stored in a "real" folder on the host PC.

The emulator is (for arguments sake) a virtual machine and so has it's entire folder structure stored separately.

On the assumption that you don't just want to know this but rather work with the files in Isolated Storage (as part of your development/testing process) then you should check out Windows Phone 7 Isolated Storage Explorer which allows you to interact with these files.

If you want to work from the command line (to automate your interaction) then check out this post by Justin Angel on emulator automation.

Matt Lacey
  • 65,560
  • 11
  • 91
  • 143
1

It's obscured by design.

The exact location depends on both the application and user so there will be a different location for each user running the same application.

ChrisF
  • 134,786
  • 31
  • 255
  • 325
1

I think I read somewhere that Silverlight Spy also lets you inspect isolated storage for WP7 apps. I don't use the tool myself, so I wouldn't know.

peSHIr
  • 6,279
  • 1
  • 34
  • 46
  • This is correct. Silverlight Spy enables you to view (at least) text and image files that are in Isolated Storage. It's well worth the license costs to get WP7 support :) – Derek Lakin Mar 01 '11 at 11:42
1

The "Mango" SDK ships with the ISETool that can take and restore snapshots of an application's isolated storage to/from a local directory:

# Copy data from IS to directory
ISETool.exe ts xd <PRODUCT-ID> "C:\TempDirectory\IsolatedStore"

# Copy data from IS to directory
ISETool.exe rs xd <PRODUCT-ID> "C:\TempDirectory\IsolatedStore"
Richard Szalay
  • 83,269
  • 19
  • 178
  • 237
-1

Usually, .Net stores it under windows Vista or windows 7 in:

C:\Users\_user_\AppData\Local\IsolatedStorage

On windows XP:

C:\Documents and Settings\_user_\Local Settings\Application Data\IsolatedStorage

Both with _user_ the username of the user. Under these folders are completely obscure subdirectories which are created and maintained by the isolated storage API. I don't know if there is any difference in this on WP7 or Silverlight, but else it is stored here