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
but after finish filled column I am getting error Like this
But when I create new project in Visual Studio that working fine.