1

I have created an ASP.NET MVC project using Entity Framework. Trying to create a new controller, I am getting an error:

There was error running selected code generator
Exception has been Thrown by the target of an Invocation

I am connecting to the database using an appsettings.config file.

I am adding controller like this

enter image description here

but after finish filled column I am getting error Like this

enter image description here

But when I create new project in Visual Studio that working fine.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
thenna
  • 423
  • 1
  • 5
  • 26

0 Answers0