Replies: 2 comments 3 replies
-
Any solution to this? |
Beta Was this translation helpful? Give feedback.
-
Are you an unpackaged app? If you're unpackaged you should use AppData as @DarranRowe suggests. The registry under Microsoft.Storage.ApplicationData #2639 has information on the subject you may find helpful (and if that enhancement interests you please share your feedback. Squeaky wheel and all that :-) |
Beta Was this translation helpful? Give feedback.
-
My app previously used 'framework-dependent' deployment (it installed in an user local app folder and could be distributed via Microsoft Store). However, due to our organization's requirements that only xCopy deployment is allowed, meaning self-contained app. I followed the instruction (Link), everything initially was okay. Only until I started using the ApplicationDataContainer, for example:
I know that since the xCopy deployment (self-contained app), there is no user local storage folder for the installed app. I would like to ask what is the best way to walkaround this issue to be able to reuse to ApplicationDataContainer, or any other app settings container API?
Thank you very much!
Below is steps to reproduce the crash:
var localSettingContainer = Windows.Storage.ApplicationData.Current.LocalSettings;
Beta Was this translation helpful? Give feedback.
All reactions