Skip to content

Disappearing MAUI templates and dotnet new install Microsoft.Maui.Templates does not work #40599

Closed as not planned
@ChiefInnovator

Description

@ChiefInnovator

Discussed in dotnet/maui#22113

Originally posted by ChiefInnovator April 29, 2024
I setup a new machine for some MAUI development and installed the latest Visual Studio a few weeks back. Everything was fine until I updated Visual Studio recently and my MAUI project templates disappeared. Unfortunately using dotnet new install Microsoft.Maui.Templates does not solve the issue. In fact, it makes it worse because it installs MAUI templates targeting .NET 6 which is not on my machine.

image

image

Please help us understand the following:

  1. Why did the MAUI project templates get removed?
  2. How do we get the latest project templates back?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions