title: Your target project 'XXX' doesn't reference EntityFramework. This package is required
body: <p>Can anyone point me in the direction of where I have gone wrong. I am trying to get migrations to work on EFCore with SQLite (Console App .NET Core 3.1)</p>
  
  <p>Running any command such as enable-migrations or update-database gives the error;</p>
  
  <p>Your target project 'XXX' doesn't reference EntityFramework. This package is for the Entity Framework Core Tools to work. Ensure your target project is correct, install the package, and try again. </p>
  
  <p>Seems a bit weird to need the EntityFramework if I am using EFCore??</p>
  
  <pre><code> &lt;PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="3.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.0"&gt;
        &lt;PrivateAssets&gt;all&lt;/PrivateAssets&gt;
        &lt;IncludeAssets&gt;runtime; build; native; contentfiles; analyzers; buildtransitive&lt;/IncludeAssets&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0"&gt;
        &lt;PrivateAssets&gt;all&lt;/PrivateAssets&gt;
        &lt;IncludeAssets&gt;runtime; build; native; contentfiles; analyzers; buildtransitive&lt;/IncludeAssets&gt;
      &lt;/PackageReference&gt;
  </code></pre>