I developed windows phone 8.1 winrt app with Prism framework, In non debug mode using FileOpenPicker contract crashes the app. It terminates the app.
Here is the code which crashes:
var picker = new FileOpenPicker();
picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
picker.ViewMode = PickerViewMode.Thumbnail;
picker.FileTypeFilter.Add(".jpg");
picker.PickSingleFileAndContinue();
Please help. Project included.
Thx
Here is the code which crashes:
var picker = new FileOpenPicker();
picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
picker.ViewMode = PickerViewMode.Thumbnail;
picker.FileTypeFilter.Add(".jpg");
picker.PickSingleFileAndContinue();
Please help. Project included.
Thx