In my Page.Loadedevent, I have this code:
FolderPicker fp = new FolderPicker();
fp.SuggestedStartLocation = PickerLocationId.ComputerFolder;
fp.FileTypeFilter.Add("*");
var f = await fp.PickSingleFolderAsync();
...
Release Details:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
This works great on the desktop.
I tried to set additional properties in FolderPicker`, but didn't change anything. I also tried to add features to the manifest.
I also saw that someone suggested that this could be because the collector is called more than once, but it doesn't seem to be, since the event .Loadedis called only once.
Did I miss something?
source
share