1
Vote

Prism with WP winrt 8.1 and Fileopenpicker issue

description

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

file attachments

comments