IntelliSense not finding methods

孤街醉人 提交于 2019-12-11 06:14:09

问题


I'm working in Asp.net and IntelliSense isn't finding the methods in app code. It executes the code well without any issue at run time, but I'm not able to see the method names while coding. Any idea how to fix this? Thanks in advance


回答1:


Telesense, is that like telekinesis or teleportation? Perhaps you have an aura around your computer that keeps it from accessing the programming force to determine the methods. Oh, you mean intellisense. :-)

Try rebuilding your web site. Check to make sure the files are set to "Compile" not "Content". If that doesn't work, try resetting your VS settings:

 devenv /resetSettings



回答2:


One of the time honoured methods of fixing this is to delete the existing intellisense file with the solution closed, and re-open it again to get Visual Studio to rebuild it.




回答3:


I had the same problem and it was fixed after restarting Visual Studio.



来源:https://stackoverflow.com/questions/2500674/intellisense-not-finding-methods

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