I have web-form project (project A) which has reference to another class library project (Project B) which I use for Data Access Layer, and I made another class library (Helper project-Project C) I make this Helper project as startup project when I want to run commands such Add-Migration on the DAL project, because it gives error if I make Project A or B as startup projects when I run EFCore commands.
It was working fine and I was able to add migrations & update database, but suddenly I got an error when I wanted to add Add-Migration, the error says:
Your startup project 'XXX.Helper' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again
Project B & C is using .NETFramework 4.7.2, and Project A was .NETFramework 4.5 & later I changed it to .NETFramework 4.7.2. I am using EntityFramework v3.1.15
How can I resolve this?