Different app behaviour when deployed locally and from Store

前端 未结 1 979
-上瘾入骨i
-上瘾入骨i 2021-01-24 14:04

I\'m encountering strange issue when app is deployed from Windows Store (beta version). The app is written as Windows Phone 8.1 RunTime.

I\'ve a small windows runtime co

相关标签:
1条回答
  • 2021-01-24 15:06

    The behavior from the store is correct: the app doesn't have permissions to the file system outside of its installed and app data folders. Win32 and C runtime functions access the files directly and so need direct access permissions.

    The StorageFile class works with the file broker and so gets the advantage of the declared capabilities, etc. The broker reads the file on the apps behalf and streams the file contents through the StorageFile.

    Apps must use StorageFile to read or write files outside their app data and installed location

    We've flagged the behavior difference between testing and production for investigation.

    0 讨论(0)
提交回复
热议问题