Visual Studio 2022 hangs when open Razor file

Viewed 48

Created a stock Blazor project (Client or Server side, both do it).

When I open the _Imports.razor, not a problem. Open NavMenu.razor, a problem.

The IDE opens the file, displays formatted Razor and after a couple of seconds just hangs, CPU usage for devenv.exe goes 50% and stays there until End Task.

Any idea how to fix this? The IDE should not hang when I try and work with a Razor file.

1 Answers
Related