Reputation: 138
Is it possible to physically copy files to Isolated Storage using the ISETool
? I'm trying to add a text file into Isolated Storage and then, through code, check if that file exists. When I do this, I get a "File does not exist" error.
If I add a file to Isolated Storage in code, it works successfully and I can access it in Isolated Storage via the ISETool
to copy it to my PC.
Consider scenario 2:
I add a file into Isolated Storage in code, and then using the ISETool
get it back to my PC. Without modifying the file, I place the SAME FILE back to Isolated Storage and try to open it through code, I see the same "File does not Exist" error.
Upvotes: 0
Views: 1390
Reputation: 746
yes it is possible to copy to and from isostorage of phone or emulator try this to upload or download files into iso storage for wp8.1 only https://isostorespy.codeplex.com/ for wp7 Windows Phone 7 Isolated Storage Explorer for wp8 Windows Phone Power Tools
Upvotes: 1
Reputation: 4635
According to this MSDN article, you are able:
...to replace the files and directories in an app’s local folder on an emulator or a device with files and directories from your computer....
Steps:
ISETool.exe rs <xd|de> <product-id> <desktop-path>
The following example shows a command that replaces the files and directories in an app’s local folder with the files from the directory "C:\Data\My Files" on your computer.
ISETool.exe rs xd 11111111-2222-3333-4444-555555555555 "C:\Data\My Files"
Hope this helps!
Upvotes: 1
Reputation: 65586
You haven't said how you're writing files to Isolated Storage.
Instead, consider using something like Windows Phone Power Tools for this as it makes it much easier to work with files in Isolated Storage.
Upvotes: 3