I have tried all the solution like repairing the VS 2013 but no use. when you create a controller by right clicking on the Controller folder and you add the controller, then you right click in the Action of the newly created controller and select Add View, it happens right then, when I try to create a view. Its not a new project, its an existing project.
For me the error had to do with the fact that I had a project in my solution that was a .NET Core project library and was referenced in the project that housed the DbContext.
Removing - or I guess changing the type - the .NET core library resolved the issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With