Symptoms
The .NET Multi-platform App UI (MAUI) template is missing in Visual Studio even after installing the .NET MAUI workload.
Cause
The .NET MAUI template isn't installed.
Resolution
To install the MAUI template, follow these steps:
- Open the Command Prompt.
- Run the command
dotnet workload install mauito install the MAUI workload if it's not installed. This command installs the necessary components and dependencies for MAUI development. - After the MAUI workload is installed, run the command
dotnet new install Microsoft.Maui.Templatesto install the MAUI templates. This command fetches and installs the latest templates for creating MAUI projects.
Once the templates are installed, you can see the .NET MAUI template available in Visual Studio when creating a new project.
For more information on installing .NET MAUI workload in Visual Studio and building .NET MAUI apps, see Installation and Build your first app.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
