I have this sample code:
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
namespace MySampleNamespace
{
I had this problem, but did not need to install:
Microsoft.EntityFrameworkCore.Relational
I simply exited VS 2017 and re-opened my solution. I had the following NuGet packages installed:
Microsoft.EntityFrameworkCore
Microsoft.EntityFrameworkCore.Tools
And the following CLI Tool Reference:
Microsoft.EntityFrameworkCore.Tools.DotNet