About the bug that the code in the cshtml file cannot be colored correctly in vs2022.

Copper Contributor

Snipaste_2022-07-02_13-27-18.png

As shown in the above picture, the code cannot be colored correctly.

neither restarting the editor nor reloading the project solves the problem.

does anyone have the same problem?

please let me know if there is a solution, it would be greatly appreciated.

OS: Windows11

IDE: VS2022 Enterprise 17.1.6 (X64)

 

 

1 Reply

Hi @cnsoo

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang