You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings all. Running 17.5.0 Preview 3, also tried updating to preview 4 this morning. Most of my razor files do not have color coding. IE, in dark mode, all the text is white, in light mode, all the text is black.
Doesn't matter if the file has a code behind (file.razor.cs) or not
Doesn't affect all files
Started out of the blue a week or so ago with no system changes
Doesn't seem to affect "newly created" razor components, just existing ones.
Not sure where to start with this one. Screenshot attached.
I have tried resetting all settings to default as well as a full reinstall of VS2022.
This is .net core 7.0.2.
Thanks.
The text was updated successfully, but these errors were encountered:
no, but strangely if I comment out all of the DevExpress components, the color comes back. I will try removing and reinstalling their stuff and report back.
It is not an issue with their components (no component should be able to break colorization, it should at worst not be recognized), it's a bug in the tooling which should be fixed by this PR (likely the DevExpress component in question use Generic Type parameters under the covers). We just got that fix into the upcoming preview release, so once that's available updating Visual Studio should resolve the issue.
Thank you! Yeah I played with commenting various parts out, and realized it was just really weird patterns that made it work. Thanks for the fix! I'll look very forward to it :D
ghost
locked as resolved and limited conversation to collaborators
Feb 25, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Greetings all. Running 17.5.0 Preview 3, also tried updating to preview 4 this morning. Most of my razor files do not have color coding. IE, in dark mode, all the text is white, in light mode, all the text is black.
Not sure where to start with this one. Screenshot attached.
I have tried resetting all settings to default as well as a full reinstall of VS2022.
This is .net core 7.0.2.
Thanks.
The text was updated successfully, but these errors were encountered: