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
  • 704,970
  • 168
  • 1,303
  • 1,425
thenna
  • 413
  • 1
  • 5
  • 24

0 Answers0