为了做到这一点,我已经安装了:-InstallVisualStudio2019预览-安装了.NET Core3.1Runtime-安装了.NET Core3.1SDKerror NU1202: Package dotnet-ef 3.1.0-preview1.19506.2 is not compatible with netcoreapp3.1 (.NETCoreAppPackage dotnet-ef 3.1.0-p
我有一个ASP.Net Core2.1项目,我想使用一个.Net Frame4.7EntityFramework6存储库。() at System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.MethodCallTranslator..cctor() -(Expression linq) at System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.Convert()上的键
(System.Data
每当我想通过我的EFCore 4.8项目上的NuGet更新到版本3的NuGet引用时,我就会得到这个错误。
Could not install package 'Microsoft.EntityFrameworkCore 3.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any
顺便说一句,我在解决方案中有3个项目,其中只有一个安装了EFCore。这很重要吗?无论如何,在那个项目中安装了3.1.4之后,我得到了这个。D:\Visual Studio Projects\OdeToFood\OdeToFood\OdeToFood.csproj 1
OdeToFOod是项目,OdeToFood.Data是我添加EF同样的错误信息,除了这一次它提到了一个不同的项目,一个从一开始就没有安装EFCore的项目。好吧,好吧,微软,我来玩你的游戏。因此,即使我在第二个项目中没有用到它