I have 2 projects in my solution, I have a project with Entity Framework Core installed:
And in the other ASP.NET Web API project I have these packages:
Try to set your web project again as startup project and this warning should go. (Right click on web project > Set as startUp project)