语法高亮不再适用于.cs文件和xml文件 [英] Syntax highlight does not work for .cs file and xml file anymore
问题描述
我正在使用VS2008。最近,加载后,语法hightlight对VS中的.cs文件和xml文件不起作用。它们显示为纯文本。
我已重新安装VS,但仍然遇到同样的错误。
有人可以帮忙吗?
谢谢,
Peng
运行" devenv / setup"从Visual Studio命令提示符为我修复了同样的问题,即使它声明"操作无法完成"。
来自http://www.graytechnology.com/博客/后/视觉工作室-2008-无语法高亮换XML-和配置 - 文件 - 的.aspx
块引用>
I am using VS2008. Recently, the Syntax hightlight does not work for .cs file and xml file in VS after loading them. They are shown as plain text.
I have reinstall the VS, but still got the same error.
Can someone help on this?
Thanks,
Peng解决方案Running "devenv /setup" from Visual Studio command prompt fixed the same issue for me, even though it stated "The operation could not be completed".
From this from http://www.graytechnology.com/Blog/post/Visual-Studio-2008-no-syntax-highlighting-for-XML-and-config-files-.aspx
这篇关于语法高亮不再适用于.cs文件和xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!