语法高亮不再适用于.cs文件和xml文件 [英] Syntax highlight does not work for .cs file and xml file anymore

查看:147
本文介绍了语法高亮不再适用于.cs文件和xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆