That's because you added the package for EF 6.2, which only targets the Full framework. It won't work on the .NET Core Runtime.
You need to use Entity Framework Core. This is was fully rewritten to target .NET Standard and fix many of the problems people had with the older Entity Framework.
Since it targets .NET Standard, it can be used in all runtimes - .NET Core, Full framework and UWP projects.
Its new features make it a great choice for the Full framework as well. For example, EF Core 2.2 added spatial types support, by using the open source NetTopologySuite package. Even EF 6.2 never had spatial type support.
Entity Framework Core is broken into various packages which enables you to add only the drivers/features you need to your project. Even the SQL Server provider is available as a separate package. A list of providers is available here
Luckily, each provider brings in all other required dependencies so all you need to do is include a provider to bring in all other required packages as transitive dependencies. That means, they don't appear as dependencies in Visual Studio or the csproj file. No more 50 package references that we don't know what to do about!