I'm trying to install the EntityFramework 6.1.3 (latest stable version) dependency in a .NETStandard 1.4 class library but I keep getting a Package restore failed error. I get the same error with previous versions of EntityFramework (I tried everything back to v6.1.0). I've tried restarting Visual Studio and restarting the VM I'm running it in to no avail.
What am I doing wrong?
答案 0 :(得分:3)
您需要将实体框架核心与.net标准而非实体框架6
一起使用https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/