visual studio 2013 - Local file storage during development of a Windows Store App -
so i'm getting started in windows store apps. first experience visual studio. windows 8.1 matter, :p
i'm trying figure out how local file storage works during dev phase of project. understand concept of how appdata directory , application install directory interact app once published , installed on client's pc. this answer gives overview of how supposed work. however, can't figure out how, during development, supposed use these concepts if app isn't installed , doesn't have dedicated folder in of appdata directories.
any appreciated!
as others have pointed out, app installed locally , app's data reside in common place c:\users\yourusername\appdata\local\packages
during development. check packaging tab of package.appxmanifest
file determine package family name, it's going cryptic. there'll corresponding folder in packages
folder.
one additional thing, though. there's difference between app that's been installed .appx file (e.g., through store or side-loaded onto device), , type of installation visual studio perform when debugging. latter so-called "unpackaged installation", , application files part of app package laid out differently, different implications. importantly, able modify contents of files in app package, fail same app when installed .appx. also, won't able install packaged version of app if unpackaged install present on machine. (of course, files in appdata
folder behave same way in either case.)
Comments
Post a Comment