Open the solution in Visual Studio. Go to: Tools > NuGet Package Manager > Package Manager Console. In the Package Manager Console, set the Default Project to the corresponding Infrastructure.EFCore ...