Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@model does not exist in the current context
Message
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:
01595634
Views:
46
>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

Looks like all those come from the System.Web.MVC..namespace in System.Web.Mvc.dll so I'd check for that in the references. But you say 'when running' - does that mean you project compiles OK ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform