No more Intellisense for ASP tags visual studio 2010

半世苍凉 提交于 2019-12-05 11:14:13
NakedBrunch

Delete Schema Files

Delete all files in the following folder: C:\Users[UserName]\AppData\Roaming\Microsoft\VisualStudio\10.0\ReflectedSchemas. It is safe to delete anything in this folder as Visual Studio will regenerate them as needed.

Unblock Referenced Assemblies

There could be a problem with one of the referenced assemblies in your project being blocked on your machine. Right-click on each DLL in Windows Explorer, select Properties, and click the "Unblock" button (if the DLL is being blocked.)

Reset Visual Studio Settings

If all else fails, you can try to reset your settings in Visual Studio 2010 (MSDN Link.) You'll have to tweak your settings all over again but it is worth trying.

This is what worked for me for aspx/ascx files:

Right click on the file in Solution Explorer Select Open With Select Web Form Editor (Default) Click Set as Default

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