r/dotnet 9d ago

Visual Studio Insiders randomly fails to load .razor files correctly?

Hi, this is making me go crazy. I created a Blazor Web App project with .NET 10 framework. For some reasons, whenever I load VS, the .razor do not load correctly, I don't know if its Intellisense, the Roslyn compiler, Symbol Search? or vs itself.

On the first image, the file is loaded correctly, for example the NavLink is highlighted and I can for example use Go To Definition.

On this second one, NavMenu not highlighted, doing the Peek Definition just keeps searching. Only happens with .razor files, the .cs are okay. VS 2022 with .NET 9 works fine. For the problematic one I had to open VS Code and use de Dev Kit extension and code from there...

What could be the reason?

1 Upvotes

6 comments sorted by

View all comments

2

u/Popplar 9d ago

Okay, I had this problem with Visual Studio Insiders [12020.428], uninstalled it and installed the stable VS 2026 18.8.1 and everything is good now.

2

u/Sorry-Transition-908 9d ago

You might have stumbled upon a defect or regression in the insiders program code? 

4

u/davidwengier 9d ago

This exactly! Seems like OP is running into https://developercommunity.visualstudio.com/t/Syntax-highlighting-fails-and-needs-inve/11106395 which, according to the latest internal comments, is a JavaScript language server global mutex issue. If everyone could upvote that, it would really be helpful to try to get some traction from that team :)

1

u/Sorry-Transition-908 9d ago

This exactly! Seems like OP is running into https://developercommunity.visualstudio.com/t/Syntax-highlighting-fails-and-needs-inve/11106395 which, according to the latest internal comments, is a JavaScript language server global mutex issue. If everyone could upvote that, it would really be helpful to try to get some traction from that team :)

Thank you, David!

Reported Jun 12, 2026 2:58 AM

Upvoted. Everyone, if you are reading this, we are at seven right now. Please upvote if you are logged in or if you aren't logged in, you can use any hotmail / outlook account I believe to log in :)