I made the app for windows store. It worked fine until I upgraded my os to Windows 8.1. There is an error while I'm trying to FileOpenPicker:
Element not found. (Исключение из HRESULT: 0x80070490)
Here is stacktrace:
at Windows.Storage.Pickers.FileOpenPicker.PickSingleFileAsync()
at Crypto.Engine.d__13.MoveNext()
and code:
FileOpenPicker fop = new FileOpenPicker();
fop.FileTypeFilter.Add(".jpg");//extension);
fop.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
try
{
StorageFile file = await fop.PickSingleFileAsync();
return file;
}
catch(Exception ex) {}
How can I fix it?