16

And if not, will it be? If so, when?

I haven't been able to find any clear official information on this, and the limited information I was able to find on Stack Overflow is a year or two old.

I was able to find official information saying EF 6.3 will be able to be used in a .NET Core project, but I couldn't find a release date for it, nor am I sure what the implications for use in a .NET Standard project are.

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
NetherGranite
  • 1,940
  • 1
  • 14
  • 42

2 Answers2

12

EF 6 supports .NET Standard 2.1, which is currently supported by .NET Core 3.0 or later - no .NET Framework version. EF 6 also supports .NET 4.0 and 4.5 or later.

https://github.com/aspnet/EntityFramework6/blob/release/6.4/src/EntityFramework/EntityFramework.csproj#L6

GrantByrne
  • 849
  • 10
  • 21
ErikEJ
  • 40,951
  • 5
  • 75
  • 115
11

Some clarification, since EntityFramework 6.3.0 .NET Standard 2.1 has been supported. However there is no .NET Framework version that supports .NET Standard 2.1. Comment from Microsoft:

NET Framework won't support .NET Standard 2.1 or later versions. For more details, see the announcement of .NET Standard 2.1.

This means that a majority of all applications using EntityFramework 6.X won't be able to use the .NET Standard 2.1 project anyway.

https://learn.microsoft.com/en-us/dotnet/standard/net-standard

https://www.nuget.org/packages/EntityFramework/#

Ogglas
  • 62,132
  • 37
  • 328
  • 418
  • Recommendation is to build your library using ef 6 to target .net 4 and .net standard so it can support running on .net 4 and .net core – TWilly Apr 09 '20 at 12:34
  • @TWilly can you please expand? – Toolkit Jan 08 '21 at 14:38
  • 2
    Well, this is very misleading to users in .NET Framework that see "EF6 now supports .NET Core in 6.3'. Sure, it supports .NET core, but by tossing .NET Framework that sort of defeats the point (yes, I understand it's still useful to .NET core, but it should be made quite clear that it doesn't support .NET framework) – mochsner Oct 28 '21 at 20:29