.NET MAUI: App.xaml, MainPage.xaml is missing from the project

.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

Enable showing all files

And select the missing files, then right click on them, and add them to the project.

Include the missing files to the project
This content has 2 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

1 thought on “.NET MAUI: App.xaml, MainPage.xaml is missing from the project”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.