大网数据广告活动
Web服务器与PHP

.NET Multi-Platform App UI Template Is Missing

· 52CE 我爱测

Helps resolve an error that occurs after you install the .NET Multi-platform App UI workload.

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:

  1. Open the Command Prompt.
  2. Run the command dotnet workload install maui to install the MAUI workload if it's not installed. This command installs the necessary components and dependencies for MAUI development.
  3. After the MAUI workload is installed, run the command dotnet new install Microsoft.Maui.Templates to 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.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 05/15/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。