Martin Bøgesvang
Martin Bøgesvang

Reputation: 61

.net MAUI templates not in Visual Studio 2022 community

Can someone help me get the MAUI templates in Visual studio 2022 community? MAUI is installed.

It was working fine and then I installed the professional version instead of community and then it was gone. I've tried reinstalling and restarting several times. The MAUI templates just wont show up, even though the module is installed.

Any help to get out there? Thanks <3

EDIT: I fixed it by using Gerald's dotnet install command. However, to do that, I had to first delete everything from: C:\Program Files (x86)\dotnet and then I could run his command, and now it works perfectly!

Upvotes: 6

Views: 3716

Answers (1)

Gerald Versluis
Gerald Versluis

Reputation: 34013

Even though it shouldn't be necessary, you should be able to install them manually by running dotnet new install Microsoft.Maui.Templates if the install keyword isn't working replace it with --i

Upvotes: 15

Related Questions