'Unable to re-open MAUI project in Visual Studio 2022 (not preview)

I installed the new release of Visual Studio 2022 (not preview) available since yesterday. I also installed MAUI workload from a command prompt

dotnet workload install maui

enter image description here

I can create a new project and choosing the .Net MAUI App (Preview)

enter image description here

I see the solution and all the files inside.

enter image description here

I can compile the solution successfully.

If I close then re-open the solution it failed.

enter image description here

I don'have problems for a simple Console App project. So the problem seems to be related to MAUI templates.



Solution 1:[1]

As of today, the new Visual Studio 2022 (released november 8th 2021) does not allows us to play with MAUI templates. We will have to wait until second quarter of 2022 (I think) to get an update.

The alternative is to still use the Visual Studio 2022 Preview edition which allows us to use MAUI templates pretty well.

Solution 2:[2]

As today the same thing happened to me, try to install the visual studio 2022 preview version; it's working and you find .Net MAUI cHECK THE PICTURE

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bronzato
Solution 2 Salih Khalifa