Visual Studio的2015年没有语法高亮剃须刀也不智能感知 [英] Visual Studio 2015 not syntax highlighting razor nor Intellisense

查看:1485
本文介绍了Visual Studio的2015年没有语法高亮剃须刀也不智能感知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS2015 RC我的剃刀的观点没有显示为C#code正确的色彩。我的项目是工作的罚款在VS2013,但它不是在2015年,并且它没有给我任何的智能感知的C#code。该解决方案基于和站点运行正常。

My Razor views in VS2015 RC are not showing the proper coloring for C# code. My project was working fine in VS2013, but it isn't in 2015, and it's not giving me any Intellisense on the C# code. The solution builds and the site runs fine.

我尝试以下无济于事


  • 禁用所有Visual Studio扩展

  • 删除我的名为.suo 文件

  • 移除项目,并重新添加到解决方案

我该如何解决这个问题?

How can I fix this?

例如:

推荐答案

我在这个回答的另一种方式找到要解决这个问题,而不 devenv.exe的/ ResetUserData

I've found in this answer another way to fix it without the devenv.exe /ResetUserData

就删除这个目录与Visual Studio关闭的内容:
%LOCALAPPDATA%\\微软\\ VisualStudio的\\ 14.0 \\ ComponentModelCache

Just delete the contents of this directory with Visual Studio closed: %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache

这篇关于Visual Studio的2015年没有语法高亮剃须刀也不智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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