Visual Studio的智能感知在一个.ascx文件无法正常工作 [英] Visual Studio intellisense not working in one .ascx file

查看:147
本文介绍了Visual Studio的智能感知在一个.ascx文件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在同一个文件夹2 .ascx文件在ASP.NET MVC项目。

I have two .ascx files in the same folder in an ASP.NET MVC project.

在其中的一个智能感知工作正常。在另一方面,它根本不工作。有任何想法吗?这些文件是在顶部同一@control定义非常相似。

In one of them intellisense is working fine. In the other it does not work at all. Any ideas? The files are very similar with the same @control definition at the top.

使用VS2008和C#。

Using VS2008 and C#.

推荐答案

尝试重建项目。直到它已建成智能感知不工作的意见

Try rebuilding your project. Intellisense doesn't work in views until it has been built.

这篇关于Visual Studio的智能感知在一个.ascx文件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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