EF Core 3.0是否不再支持.net框架? [英] Does EF Core 3.0 do not support .net framework any more?

查看:122
本文介绍了EF Core 3.0是否不再支持.net框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在.net framework 4.8 WPF项目中使用了EF CORE 2.2.6。



现在EF CORE 3.0已发布。



当我更新NuGet软件包时,它报告此错误:





如错误所述,似乎EF CORE 3.0尚未与.net框架兼容。



我试图找到EF CORE 3.0发布公告,但找不到关于不再支持.net框架的任何信息。



我该如何解决?我是否必须将所有项目迁移到.net core 3.0才能解决此问题?谢谢。

解决方案

EF Core 3.0 基于 .NET Standard 2.1 strong>,而 .NET Framework 4.8 不具有 .NET Standard 2.1支持。因此,您不能在.NET Framework 4.8中使用EF Core 3.0。



因此,解决方案要么坚持EF Core 2.2,要么将所有项目迁移到.NET Core 3.0。 / p>

有关更多详细信息:支持.Net Framework (4.8?)for netstandard 2.1 EF Core 3.0面向.NET Standard 2.1


I have used EF CORE 2.2.6 in a .net framework 4.8 WPF project yet.

And now the EF CORE 3.0 has published.

While I update the NuGet package, it reports this error:

As the error said, it seems the EF CORE 3.0 does not compatible with the .net framework yet.

I tried to find the EF CORE 3.0 publish announcement, but can not find any about does not support .net framework anymore.

How can I solve it? Do I have to migrate all the project to .net core 3.0 to solve this problem? Thank you.

解决方案

EF Core 3.0 is based on .NET Standard 2.1 while .NET Framework 4.8 does not have .NET Standard 2.1 support. So you can not use EF Core 3.0 in .NET Framework 4.8.

So solution is either stick to EF Core 2.2 or migrate all the project to .NET Core 3.0.

For more details: Support .Net Framework (4.8?) for netstandard 2.1 and EF Core 3.0 targets .NET Standard 2.1

这篇关于EF Core 3.0是否不再支持.net框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆