.NET MAUIではエクスプローラーではなく、FilePickerだった そうなのです。なので、まずはFilePickerを使わなければ話にならない そして関わるのがことごとく非同期関数なので、try~catchでエラー処理しないと漏れが発生する xaml側 とりあえず釦を一個だけ画面に貼り付ける <? xml version = "1.0" encoding = "utf-8" ?> < ContentPage xmlns = "http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x = "http://schemas.microsoft.com/winfx/2009/xaml" x:Class = "MauiTestFile.MainPage" > < ScrollView > < VerticalStackLayout Padding = "30,0" Spacing = "25" > < Button x:Name = "FileSelectBtn" Clicked = "OnFileSelectBtnClicked" Text = "JSONファイルを選んでね" ...