Migrator.EF6
Migrator.EF6 copied to clipboard
dotnet ef migrations add [filename]
Getting error... Unhandled Exception: System.InvalidOperationException: ServiceLocationProvider must be set.
migrator.ef6.tools -> 2.1 dotnet -> 2.2.101 aspnetcore => 2.2 .net framework => 4.7.2
This doesn't tell me anything at all though. What version are you using? What framework, what dotnet sdk, which sdk version do you have installed...
Are you able to run the sample project that comes with this repo? Unfortunately I won't be able to tell why you're facing this just from this info. I suggest you try to run the sample with this repo, and double check you're following the steps correctly from the README.