Add Controller Model Classes not shown

后端 未结 14 862
天命终不由人
天命终不由人 2020-12-31 09:41

I managed to create a Model First DBContext model (before it was a normal ObjectContext derived model).

Strangly now my VS is not showing ANY of my classes in the Mo

14条回答
  •  无人及你
    2020-12-31 10:03

    I just experienced this issue in a project that had been working. There were NO updates to EF or MVC, it just started throwing the "There no model classes..." message. I backed up my project, deleted it from my HD and the got the most recent version from source control, SVN in this case. I rebuilt the project and now it works again, just like magic.

    VS 2012 EF 5.0 .NET 4.5 MVC 4.0

提交回复
热议问题