Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@model does not exist in the current context
Message
From
02/03/2014 07:39:50
 
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595609
Message ID:
01595620
Views:
51
From time to time, I've had VS lose Intellisense. Restarting VS has always fixed it.

>The title of this post is the error message I get when running a MVC view, my model declaration is
@model IEnumerable<Mytable>
but I get the dreaded red squiggle in design mode , I don't know if this is related but I've also lost intellisense in my views I get messages like "@Html Helper does not contain a method ActionLink" and also all calls to any "@Html helpers" are "red squigglies" , all this started when Nuget updated some libraries.
>
>Edit: I've attached a screenshot
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform