ASP.NET Markup Intellisense not working in Visual Studio 2010

不想你离开。 提交于 2019-11-28 01:12:08

问题


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.

Why could this be?

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


回答1:


Navigate here: C:\Users\USERNAME\AppData\Roaming\Microsoft\VisualStudio

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




回答2:


  • Check file extension - editor bindings in preferences.
  • Check the system.web\pages\controls config section in your web configuration file.
  • Check the system.web\compilation\assemblies section too.


来源:https://stackoverflow.com/questions/3310526/asp-net-markup-intellisense-not-working-in-visual-studio-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!