I am facing a weird problem in my Visual Studio 2013 ASP.NET MVC 5 project. All of a sudden, the IntelliSense in the Controller classes of the MVC 5 project are not working
I too have the same issue with Intellisense in my Text editor.
i just
close
example.cs file which is not providing Intellisense and reopen that class without restartVisual Studio
it works for me.
Note : i don't have the same issue with all the .CS file in Solution Explorer
I know I'm a bit late, but adding this to my App.config
file did the trick!
<system.web>
<compilation>
<assemblies>
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
</system.web>
I get this exact same thing every time I work with one particular MVC5 project. Restarting VS2013 does not work. Deleting suo files does not work. Resetting all tools settings does not work. The only thing that ever works is removing the project from the solution and adding it again. Seeing as I have to do this every day is is really quite annoying. Especially when I have it set to reopen the last files I had open, I then need to track down the ones I was working on and re-open them instead of the popping up automagically..
To solve this I closed Visual Studio Express 2013 and I reopened the Solution but double clicking on its .sln
file directly from the file system. Opening it from the Start Page had my controllers intellisense broken.
VS2013 intellisense code completion
Rushonerok's solution works great for me.
For anyone who doesn't know: <ProjectName>.v12.suo is a hidden file in project root folder. You must set on "Show hidden files" in your file browser to see it.