I am having an issue with Syntax Highlighting disappearing for my XAML Designer in Visual Studio. Last week I installed Visual Studio Enterprise 2026 (was working off of VS Enterprise 2022) before. After the installation and importing all of my settings from VS Enterprise 2022, I had no issue. Then I headed home for the weekend and when I opened up my solution again none of the views I opened in the XAML Designer had Syntax Highlighting.
I am still relatively new to the platform here and am finding my way around, but I've done as thorough a job as I can trying to troubleshoot:
- Changed the theme from 'Dark Plum' back to the light mode and back, neither theme had syntax highlighting
- Closed the solution and reopened it
- Deleted two theme packs I installed (Cyberpunk and Dracula) that I was not using any longer
- Checked other solutions to make sure this was the case across the board (it is)
- etc
One thing of note that happened before this was that upon reopening these XAML files last week I had to manually set the default editor to the XAML Designer for them to open. However, after that I had no issue.
Would love some assistance here on possible solutions or where else to look to figure this out. Hoping I am just missing something. The project is pretty small right now, but as it grows not having Syntax Highlighting on these views is going to be a real chore navigating.
Thank you!