0
I found a similar situation but referring to "Visual Studio Code" as follows in this link: Code gets all white in VS Code, no syntax highlighting or suggestions
but my problem occurs in "Visual Studio", recently a mandatory update was made. And the files that contain javascript codes in the middle, such as files. cshtml (which contains excerpts including html and javascript by the tags ) got the javascript code all white, without coloring the syntax. I have tried to go to tools>options>Text editor and link the cshtml extension with some editors but none had a desirable effect. Someone’s been through it and knows how to fix it?