When I select desktop as location to save my file in 'FolderPicker' dialog, it says "No object for Moniker". What error message is this? why does it not allow me to select the desktop location? However, there is another shortcut for desktop (under This PC) right below that, it goes smoothly if I select that one. Confusing stuff. Is this the intended behaviour? Please clarify.
FolderPicker picker = new FolderPicker() {
SuggestedStartLocation = PickerLocationId.Desktop
};
picker.FileTypeFilter.Add(".jpg");
picker.FileTypeFilter.Add(".jpeg");
StorageFolder ToSaveFolder = await picker.PickSingleFolderAsync();
if (ToSaveFolder == null) { return; }
It does not accept the 1st Desktop location. It accepts the second desktop location. Note: 1st one is not a link! neither under the Quick-Access shortcut.