I am working with the latest .Net Core and EF Core in Visual Studio 2017. I have created a model and it was working great. I have since made some modifications and am gett
I had the same error "No parameterless constructor defined for type ..." while trying to adda migration.
Turns out that when running ef migrations
entity framework passes on arguments in the startup project Program.cs
The string[] args
was removed for security reasons. Adding this resolved the issue.