I am creating a Windows Form App in VS on Windows11 and get this error when I attempt to run my file picker function: System.NotImplementedException: 'The member IAsyncOperation<IReadOnlyList> FileOpenPicker.PickMultipleFilesAsync() is not implemented in Uno.'
The Code :
var picker = new FileOpenPicker();
picker.ViewMode = PickerViewMode.Thumbnail;
picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
picker.FileTypeFilter.Add(".png");
var files = await picker.PickMultipleFilesAsync();
if(files!=null){//stuff n things}
Windows 11 has its own method for opening files. FilePicker will not work in the new App environtment.
How To Open Files