Blazor isn't listed in Visual Studio Community 2022

FabioM 0 Reputation points
2025-01-19T12:33:04.3433333+00:00

Hello

I'm trying to start a new Blazor WebAssembly App in Visual studio 2022 but it isn't listed there.

I did run dotnet new --list in the command line and it shows both Blazor WebAssembly App and Blazor Server App listed so I'm not sure why it isn't available from the New Project list in VS.

I installed .NET SDK 8.0 and also most of ASP.NET and Web Development tools but still not listed.

Is there anything I might be missing to have it listed? I know I can run a new template install for Blazor via CLI but I don't want to do that, it's preferable to choose he project within VS

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,654 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,385 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 70,216 Reputation points
    2025-01-19T17:27:54.2066667+00:00

    The dotnet cli has template support to generate projects. But visual studio has its own template project system and does not use the dotnet templates, but rather its own. There is overlap but they don’t need to match.


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.