Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Problem with syntax color in Visual Studio 2022

Today I came across an issue with Razor syntax coloring. After turning on the program, everything is fine and after a second it changes as in the attached photo.

Photo of problem

Additionally, there is no autocomplete in Razor. After adding a space, the colors change in random order.
It’s Visual Studio 2022 17.8.4
Maybe someone had a similar problem, thank you in advance for your help.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I restarted Visual Studio, deleted the Visual Studio 2022 folder in Documents on Windows, deleted temporary files, restarted the PC, gave the Visual Studio Installer the repair option, which resulted in downloading the entire program again and installing it.
However, this did not help and the program continued to behave in this strange way.

>Solution :

I saw the same problem you are right,

enter image description here

actually, I think the best thing we can do is use the Visual Studio Report Problem functionality to let them know about the problem and fix it ASAP,

I think this bug has been reported to them, please upvote the bug, that is the best way to make them fix it

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading