Trying to create a simple database in MVC using DbContext and DbSets. MVC has EntityFramework already installed so i tried to Enable-Migrations(yes, i know its automaticall set to true, or so ive been told), I tried to Add-Migration Initial and i always get the same exception thrown. “Exception has been thrown by the target of an invocation.” there is a huge message above it and if needed ill provide it.
I tried following the link the console suggested and enabled , created a new project to see if maybe the issue was in my code. Still the same issues. I checked for the latest versions and its all up to date
Dr Xizt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.