Jedidja
Jedidja

Reputation: 16960

Where can I find files saved in ApplicationData.Current.LocalFolder while developing a Windows Phone 8.1 app?

To my understanding, WinRT apps store their application data in

C:\Users\{user}\AppData\Local\Packages

My Windows Phone 8.1 application seems to have its own folder there as well, with an odd name like

App.aba911777.a60e8.a46c0.aa90d.a5038d92d276e_8wekyb3d8bbwe

However, when I browse the directory, I cannot find any of the files I've saved to ApplicationData.Current.LocalFolder. They are definitely there, because if I re-run my app in the emulator (which hasn't been closed at all), can find the cached files. Presumably these files are saved somewhere on my actual hard drive; where would they be?

(LocalFolder.Path gives me C:\Data\Users\DefApps\APPDATA\Local\Packages\2cdc8aaf-b7fe-4bcb-992a-18ad6f140771_b83k3kj2dpxdw\LocalState but I'm not sure how to find that on my hard drive)

Upvotes: 16

Views: 22537

Answers (3)

Rahamath
Rahamath

Reputation: 531

Search your SQLite db file in "C:\Users\\AppData\Local\Packages\".

Upvotes: 1

Kinjan Bhavsar
Kinjan Bhavsar

Reputation: 1449

localFolder.Path gives you correct location. You are not able to find that folder because AppData is been hidden. Please change your PC settings to view this folder.

Thanks

Upvotes: 0

Romasz
Romasz

Reputation: 29792

To transfer/access files on Windows Phone Emulator (also works with device) you can use:

Upvotes: 14

Related Questions