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.

Weird One Drive + Microsoft Hololens behavior

edited July 2017 in Questions And Answers

I know that using FileOpenPicker and FileSavePicker, we can access files on OneDrive.

My current problem is trying to copy a folder on OneDrive to my current application folder (specifically to ApplicationData.Current.RoamingFolder).

However, since FolderPicker contracts aren't supported. I figured I can just make a dummy file inside the folder I want to copy, get its parent StorageFolder by calling GetParentAsync() and copying the StorageFolder to my destination.

Then, it turns out OneDrive does not keep the folder hierarchy, but instead downloads all the user-selected files into its LocalState/OpenFile directory.

Can anyone help me out here? How can I directly a copy a folder from OneDrive?

Sign In or Register to comment.