Exception has been thrown by the target of an invocation thrown when scaffolding a controller

asp.net-mvc dbcontext entity-framework scaffold

Accepted Answer

I defined many ConnectionStrings. I removed the default and added ConstringStrings from my Class Library in its place. Works perfectly now!

The following post's solution was used: Items cannot be scaffolded by the application.

3
9/17/2017 12:20:29 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow