Add Controller Model Classes not shown

后端 未结 14 749
天命终不由人
天命终不由人 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:25

    Building / rebuilding did not work for me. I had to close and reopen the solution, and then the class finally appeared.

    0 讨论(0)
  • 2020-12-31 10:28

    Possibly related: Add View Model class dropdown not showing my class

    I was looking for a solution to this when adding a controller, but reached the mentioned post earlier than reaching this one. Removing AssemblyInfo.cs and setting the properties on the project worked for me (for VS2010).

    0 讨论(0)
提交回复
热议问题