C#C
C#3y ago
Hercules

❔ Can't run Add-migration to create my local database.

I have an web api and some .net standard class library that holds my entities but whenever i run "Add-migration" on the .net standard library i get a runtime issue I'm missing a startup file with corresponding framework.

So I checked the references between the different class libraries and saw that i have a project reference to the .net standard class library but when i run "Add-migration" i get the following message

Build started...
Build succeeded.
Specify --help for a list of available options and commands.
Unrecognized command or argument 'add-migration'.
image.png
Was this page helpful?