ASP.NET Markup Intellisense not working in Visual

2019-01-25 18:56发布

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.

2条回答
虎瘦雄心在
2楼-- · 2019-01-25 19:18

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

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

查看更多
ら.Afraid
3楼-- · 2019-01-25 19:30
  • 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.
查看更多
登录 后发表回答