There is a "Data" project containing the context of app, and the root project "TheFarmersMarketApp" with reference to Data project. The main project is written on WPF.
Add-Migration "Initial Migration" -Project Data -StartUpProject TheFarmersMarketApp
returns
Could not load assembly 'Data'. Ensure it is referenced by the startup project 'TheFarmersMarketApp'.
Additionally, I changed "Default project" field on "Data" and "Models"(ugh...) projects and restarted my laptop to be sure that all necessary services are turned on.
There are some screenshots of Visual Studio, if it is easier to understand the problem visually.
PackageManagerConsole + SolutionExplorer + TheFarmersMarket.csproj windows