ASP.NET标记Intellisense在Visual Studio 2010中不起作用 [英] ASP.NET Markup Intellisense not working in Visual Studio 2010
问题描述
当我在Visual Studio 2010的标记模式下键入<
时,没有任何服务器端控件(即<asp:textbox />
),而仅获得标准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:\ Users \ USERNAME \ AppData \ Roaming \ Microsoft \ VisualStudio
Navigate here: C:\Users\USERNAME\AppData\Roaming\Microsoft\VisualStudio
并删除标有"10.0"的文件夹的内容.这对我有用.
And delete the contents of the folder labeled '10.0'. This worked for me.
这篇关于ASP.NET标记Intellisense在Visual Studio 2010中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!