Create a new .NET MAUI app:
In the Create a new project window, type MAUI App in the search bar. Select the .NET MAUI App template, and then click the Next button.
In the Configure your new project window, enter MyFirstMauiApp as the project name and click the Next button.
In the Additional information window, select .NET 8.0 (Long Term Support) in the Framework drop-down if not already selected and click the Create button.
Visual Studio creates the new project. If you get a Windows Security Alert warning you about the firewall blocking some features, select the Allow access button.
NuGet is a package manager that will bring in the dependencies of your new app.
The package restore process will start automatically. Wait until the Restored or Ready message appears in the status bar at the bottom left of the screen.
In the Choose a template for your new project window, select Multiplatform > App, select the .NET MAUI App template, and click the Continue button.
In the Configure your new .NET MAUI App window, select .NET 7.0 in the Target framework dropdown if not already selected and click the Continue button:
Enter MyFirstMauiApp as the Project name and click the Create button.