MAUI extensions not available on visual studio 2022

Reabetswe Marumane Mogoswane 20 Reputation points
2023-09-17T23:15:46.5933333+00:00

I have Visual Studio v 17.7.4 and Visual Studio Preview v 17.8.0 and have recently installed the MAUI suite. User's image

I am not given the option to create multi-platform apps as I assume I would on VS or VSP. I have gone through previous iterations of the question where general consensus was that MAUI would only be available in 2022, or that to use MAUI would have to go through VSP (both seem to be outdated).

User's image

User's image

Developer technologies | .NET | .NET MAUI
Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Kashif Bhatti 15 Reputation points
    2024-01-27T21:11:57.5966667+00:00

    I'm on Windows 11 x64 and VS 2022.I had exactly the same issue of missing MAUI APP project type. First I had to rename (or you can delete it) the folder C:\Program Files (x86)\dotnet to C:\Program Files (x86)\_dotnet as it was causing a conflict. Also I added C:\Program Files\dotnet to my PATH environment variables, restarted the PC, then I was successfully execute the below command to install the MAUI templates.

    dotnet new -i Microsoft.Maui.Templates
    
    
    3 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.