Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Reading files from RoamingState folder

I am storing some of my app data (as files) in the RoamingState folder. It gets successfully stored. But when I try to read the data back, I get nothing from the folder. I can see the files exists there (through device portal). But still, when I tries to read the file, it returns nothing. I even tried to get all the files, still nothing is returned.
StorageFolder folder = await StorageFolder.GetFolderFromPathAsync(ApplicationData.Current.RoamingFolder.Path);

IReadOnlyList<StorageFile> files = await folder.GetFilesAsync(CommonFileQuery.DefaultQuery);

The files list is always empty no matter what. I even tried to read files from TempState and LocalFolder, but all returns empty. Is there something I need to do in my VS project or in Hololens settings to get this working?

Tagged:
Sign In or Register to comment.