'Blazor PWA in Visual Studio 2022

in Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.1.5 I have created a Blazor PWA project with .NET 5 and when I launch the template in debug or release mode it cannot be installed to Windows.

With Microsoft Visual Studio Community 2019 Version 16.11.13 it is working fine.

Is there a way to make it work in Visual Studio 2022 or is this a bug?



Sources

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

Source: Stack Overflow

Solution Source