EF Core Migration: Could not load assembly 'AssemblyName'

.net-core asp.net ef-migrations entity-framework-core

Question

The command "Add-Migration InitialCreate" generates the following error message:

Could not load assembly 'MathModelApp'. Ensure it is referenced by the startup project 'MathModelApp'.

enter image description here

What does the error message mean?

I am using netcore 2.1, Target Platform is x86.

1
2
11/28/2018 2:16:01 PM

Popular Answer

Please go to solution property and check if you selected same project as the startup project in the solution or not.

0
4/10/2020 9:43:59 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow