Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
what ef command you are using? you need to use Add-Migration
Add-Migration InitialCreate -OutputDir Migrations\initial
For more step by step details visit - https://geeksarray.com/blog/entity-framework-core-code-first-migration-using-separate-assembly