ASP.NET 标记智能感知在 Visual Studio 2010 中不起作用 [英] ASP.NET Markup Intellisense not working in Visual Studio 2010

查看:29
本文介绍了ASP.NET 标记智能感知在 Visual Studio 2010 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Visual Studio 2010 的标记模式中键入 < 时,我没有得到任何服务器端控件(即.code>),我只是得到一个标准 HTML 控件的列表.

When I type < in the Markup Mode of Visual Studio 2010, I don't get any server-side controls (ie. <asp:textbox />), I just get a list of standard HTML controls.

这曾经有效,但有一天停止了.

This used to work, but one day just stopped.

为什么会这样?

P.S:我是一名 VB.NET 程序员,intellisense 在 .vb 文件中运行良好.

P.S: I'm a VB.NET Programmer, and intellisense is working fine in the .vb files.

推荐答案

导航到这里:C:UsersUSERNAMEAppDataRoamingMicrosoftVisualStudio

Navigate here: C:UsersUSERNAMEAppDataRoamingMicrosoftVisualStudio

并删除标有10.0"的文件夹中的内容.这对我有用.

And delete the contents of the folder labeled '10.0'. This worked for me.

这篇关于ASP.NET 标记智能感知在 Visual Studio 2010 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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