So I just upgraded to Visual Studio 2017, and sure enough I encountered a few problems. The most recent one is the XAML designer is refusing to show colored syntax highlighting. Here's a picture:
I have tried resetting my settings through Tools->Import and Export Settings->Reset All Settings. However, this did nothing but reset my layout. Is anyone else experiencing this? How can I fix it?
You can create user interfaces for your apps by dragging controls from the Toolbox window (Assets window in Blend for Visual Studio) and setting properties in the Properties window. You can also edit XAML directly in XAML view. For advanced users, you can even customize the XAML Designer.
Privacy policy. Thank you. The XAML Designer in Visual Studio and Blend for Visual Studio provides a visual interface to help you design XAML-based apps, such as WPF and UWP.
Not all errors or warnings have a corresponding code. Such errors are usually XAML Designer errors. Open the Options dialog by selecting Tools > Options, and then select Text Editor > XAML > Miscellaneous. Uncheck the Show errors detected by the XAML designer check box.
Open the Options dialog by selecting Tools > Options, and then select Text Editor > XAML > Miscellaneous. Uncheck the Show errors detected by the XAML designer check box. Learn how to use the Live Visual Tree and Live Property Explorer tools while debugging to inspect XAML properties and get a tree view of UI elements.
I think the font's or the settings for the XAML highlighting are missing. The easiest thing that I suggest you trying, which is already available to you is:
1)Go to Start
2)Search and run Visual Studio Installer
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe"
3)You are going to have 3 options depending on the version you have installed
4)You will have 3 Buttons. Click the hamburger menu button (3rd).
5)Select Repair.
That should repair the installation and I believe it should work just fine!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With