Cannot implicitly convert type IAsyncOperation<StorageFile> to StorageFile
问题 What the hell is wrong with my code? private void BrowseButton_Click(object sender, RoutedEventArgs e) { FileOpenPicker FilePicker = new FileOpenPicker(); FilePicker.FileTypeFilter.Add(".exe"); FilePicker.ViewMode = PickerViewMode.List; FilePicker.SuggestedStartLocation = PickerLocationId.Desktop; // IF I PUT AWAIT HERE V I GET ANOTHER ERROR¹ StorageFile file = FilePicker.PickSingleFileAsync(); if (file != null) { AppPath.Text = file.Name; } else { AppPath.Text = ""; } } It gives me this