CSHTML页面上没有颜色编码 [英] No color coding on cshtml pages

查看:113
本文介绍了CSHTML页面上没有颜色编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有带有更新的Visual Studio 2015

I have Visual Studio 2015 with Updates

当我尝试编辑任何cshtml页面时,代码上都没有颜色编码,所有东西都是黑色背景上的白色.

When I try to edit any cshtml page I get no color coding on the code everything is white on black background.

我已经重新运行了设置/修复程序,但这并没有解决任何问题.

I've re-ran the setup/repair, but that did not fix anything.

该应用程序可以从Visual Studio编译并运行.

The application compiles and runs from Visual Studio.

在启动Visual Studio的地方,出现以下错误消息

Where I start Visual Studio I get the following error message

这是我的ActivityLog.xml

Here's my ActivityLog.xml


Peter

推荐答案

Hi pczurak,

Hi pczurak,

谢谢您的发帖.

Firstly, in order to have a better view of seeing the Activity log, please upload the following URL file to https://onedrive.live.com/ and share the link here

Firstly, in order to have a better view of seeing the Activity log, please upload the following URL file to https://onedrive.live.com/ and share the link here

'C:\Users\czupet\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.

'C:\Users\czupet\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.

From the description, the VS seems crashed,  you could restart Windows and in safe mode, run devenv/safemode in Visual Studio 2015 Command Prompt.

From the description, the VS seems crashed,  you could restart Windows and in safe mode, run devenv /safemode in Visual Studio 2015 Command Prompt.

If in safe mode this issue disappeared, the cause should be third-party applications, services or Visual Studio Add-ins.
Please also try devenv/resetsettings or devenv/setup in Command Prompt

If in safe mode this issue disappeared, the cause should be third-party applications, services or Visual Studio Add-ins.
Please also try devenv /resetsettings or devenv /setup in Command Prompt

If the above still doesn't help, I suggest you insert a good ISO to repair your VS.

If the above still doesn't help, I suggest you insert a good ISO to repair your VS.

Please go to Microsoft website to download VS 2015 ISO:
https://www.visualstudio.com/downloads/download-visual-studio-vs

Please go to Microsoft website to download VS 2015 ISO:
https://www.visualstudio.com/downloads/download-visual-studio-vs

VS 2015 iso files SHA-1 Values link

https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx

PS: To make sure whether your package is corrupted or not,

https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx

PS: To make sure whether your package is corrupted or not,

请使用FCIV.exe

please use FCIV.exe http://support.microsoft.com/kb/841290  to verify
hash of the ISO.


这篇关于CSHTML页面上没有颜色编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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