.NetFramework
and.NetCore
. Your program target system is usuallyAsp.Online Primary
. Therefore You should set up package related withAsp.online Primary
'EntityFramework 6.2.0'
will be supports by.NETFramework,Version=v4.6.1'
not by'.NETCoreApp,Version=v2.0'
. So make use of this below edition of enterprise framework rather of yours..NETFramework,Edition=v4.6.1
or choose an Entity Framework nuget that supports.NETCoreApp,Version=v2.0