.NET MAUI is still in beta so there are no final project templates to create a new MAUI application. The current project template omits the App.xaml, and MainPage.xaml files from the project (at least on mac), so we have to add them ourselves.
Enable on Visual Studio, to show all files
And select the missing files, then right click on them, and add them to the project.
1 thought on “.NET MAUI: App.xaml, MainPage.xaml is missing from the project”