Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

The name 'model' does not exist in current context Asp.net MVC

The name 'model' does not exist in current context



1. Check your Reference system.web.mvc and your webconfig if you reference these namespaces system.web.mvc and system.web.mvc.html

2. Check all packages successfully restored when you build it?

3. Check your class files. Whether reference correctly? also check the namespace and access modifiers of your class.

Users Please post your solution too.


This post first appeared on Asp.netSourceCodes, please read the originial post: here

Share the post

The name 'model' does not exist in current context Asp.net MVC

×

Subscribe to Asp.netsourcecodes

Get updates delivered right to your inbox!

Thank you for your subscription

×