Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChiefInnovator opened this issue Apr 29, 2024 · 1 comment
Assignees
Milestone

Comments

@ChiefInnovator
Copy link

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?
@PureWeen PureWeen transferred this issue from dotnet/maui May 1, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels May 1, 2024
@marcpopMSFT marcpopMSFT self-assigned this May 14, 2024
@marcpopMSFT marcpopMSFT removed the untriaged Request triage from a team member label May 28, 2024
@marcpopMSFT marcpopMSFT added this to the Discussion milestone May 28, 2024
@marcpopMSFT
Copy link
Member

Can you report the output of dotnet --info and dotnet workload --info? Somehow your maui install is in a torn state and so not detecting the installed templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants