This tutorial on how to develop your first .NET MAUI app will very describing go through how you create you first .NET MAUI app. There will be other tutorials on my blog on more advanced features of .NET MAUI, but this is the first step!

The very first step you need to do before creating a .NET MAUI app is to install all the feature. I have a tutorial on how to install .NET MAUI here.

Create the .NET MAUI solution

The next step is to start up Visual Studio 2022 (2022 is important because .NET MAUI runs on .NET6). If you don’t have that installed, check out the post above.

Create new project in Visual Studio
Create new project in Visual Studio

After that you need to select the correct project, I choose .NET MAUI App, but you can also select .NET MAUI Blazor App if you have experience in Blazor.

Select the template .NET Maui App
Select the template .NET Maui App

Explore you .NET MAUI code

When the project is loaded, you should see this view. With the code to the right in the Solution explorer, go ahead and explore it! When you are ready to launch your first .NET MAUI app, just click the green arrow with the emulator! That should build and compile the project and start up the emulator.

Click the green button with the correct emulator
Click the green button with the correct emulator

Your first .NET MAUI APP

If this view pops up, everything worked correctly! Congratulations, your first .NET MAUI app. How cool is that?!
If this didn’t pop up directly, don’t worry, it happens. Look below for some troubleshooting.

Your first Maui Hello World App
Your first Maui Hello World App

Troubleshoot

Find Android device manager in Visual Studio
Find Android device manager in Visual Studio

2 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

This website uses cookies. By continuing to use this site, you accept our use of cookies.