Visual Studio的智能感知2013停止工作的ASP.NET MVC5控制器 [英] Visual Studio 2013 IntelliSense stops working for ASP.NET MVC5 Controllers

查看:166
本文介绍了Visual Studio的智能感知2013停止工作的ASP.NET MVC5控制器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的Visual Studio 2013的ASP.NET MVC 5项目面临的一个奇怪的问题。突然,在MVC 5项目的Controller类的智能感知是不工作的。

I am facing a weird problem in my Visual Studio 2013 ASP.NET MVC 5 project. All of a sudden, the IntelliSense in the Controller classes of the MVC 5 project are not working at all.

我有其他的类库项目,我的解决方案和智能感知是工作在这些类库项目文件,但问题是只在MVC项目。通常这类问题是通过重新启动Visual Studio的解决:我不仅重新启动Visual Studio,但我也重新启动我的计算机和智能感知的问题是没有得到固定在所有

I have other class library projects in my solution and IntelliSense is working in those class library project files, but the problem is only within the MVC project. Usually these kinds of problems are solved by restarting Visual Studio: not only did I restart Visual Studio, but I also restarted my computer, and the IntelliSense problem is not getting fixed at all.

是否有可能得到任何其他步骤我的IntelliSense回来吗?

Are there any other steps that can get me IntelliSense back?

推荐答案

我已经找到了解决这一问题的方法之一。那是,
1 - >从解决方案中删除的ASP.NET MVC项目,
2. - >然后,添加MVC项目回的解决方案

I have found one way to solve the problem. That is, 1. -> Remove the ASP.NET MVC Project from Solution, 2. -> Then, add the MVC Project back to the Solution.

做这些步骤,我可以再次获得智能感知。但是,我很不满意这种解决方案虽然,因为,当我双击解决方案文件,打开该解决方案下一次,我看到了智能感知不工作了。我想知道真正的原因,它是表现这样的。

By doing these steps, I can get the Intellisense again. But, I am not happy with this solution though, because, next time when I double click the Solution file to open the solution, I see the intellisense is not working again. I would like to know the real reason why it is behaving like that.

最后,我想通了,这是一个第三方的Visual Studio扩展,是造成问题。为了找出延伸,我删除了所有的扩展,然后通过一个附加扩展之一,并停止在那里我发现,正在采取我的睡眠走的罪魁祸首扩展名:)

Finally, I figured out that it was a 3rd party visual studio extension which was causing the problem. In order to find out that extension, I removed all extensions and then, added the extensions one by one and stopped where I found the culprit extension that was taking my sleep away :).

这篇关于Visual Studio的智能感知2013停止工作的ASP.NET MVC5控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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