user1752532
user1752532

Reputation:

No xaml color formatting in visual studio 2012

This is the second time i have installed VS 2012 and the first time the color formatting for xaml was working but not anymore. If i can change some element in the tools -> fonts and colors but i cant get the normal default scheme back with the blue | red | yellow look, even if i change back to defaults.

Any help would be nice. Thanks

Upvotes: 10

Views: 5096

Answers (3)

sbeci
sbeci

Reputation: 31

Right click on the .xaml file -> open with option from the list choose HTML Editor With Encoding

Upvotes: 3

Marius Bughiu
Marius Bughiu

Reputation: 1017

I've had this exact same issue. The solution is:

  • close all running instances of Visual Studio
  • open a "Run" window and type in devenv /resetuserdata

That's it. Open your projects again and everything should work fine. Beware: your personal settings will be lost. Recently opened projects list also.

Upvotes: 14

Hardik
Hardik

Reputation: 283

You can try Tools -> Options -> Environment -> Fonts & Colors and Display Items as Use Defaults..as suggested by gerdi...Also make sure all options are ticked Under Tools -> Options -> TextEditor -> General...

Upvotes: 0

Related Questions