This tutorial will focus on deploying a .NET MAUI application to your local Windows machine first. Later, you'll have the option to set up an Android device or emulator.
To develop Windows applications, you'll need to enable developer mode to sideload applications on Windows 11 or Windows 10.
Enable developer mode
Turn on the toggle under Developer Mode.
The Use developer features dialog is displayed. Select Yes to confirm that you want to enable the developer mode.
You are now ready to run and deploy your .NET MAUI app to Windows.
In the toolbar, you should see Windows Machine as the debug target by default.
To run your app, select Debug > Start Debugging from the main menu (or press F5).
Congratulations, you've built and run your first .NET MAUI app!