-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Milestone
Description
We have the intention to make EF Core 2.0 target .NET Standard 2.0 only. This means you will be able to use Entity Framework Core 2.0 on:
- .NET Framework 4.6.1 and up
- .NET Core 2.x
- Mono 5.x
There will be a period of time during which other .NET platforms will need to catch up to .NET Standard 2.0, e.g. an UWP version with support for .NET Standard 2.0 will arrive later this year, as announced at Build.
EF Core 1.x versions target .NET Framework 4.5.1 and .NET Standard 1.3 and can still be used in older platforms. The documentation on .NET Standard contains a full matrix of .NET platform support.
The change is happening in two stages:
- PR Target .NET Standard 1.4 & 2.0 dotnet/efcore#8441 made the EF Core 2.0 codebase is cross-compiled for .NET Standard 1.4 and 2.0 (.NET Standard 1.4 also maps to .NET Framework 4.6.1).
- PR Only target .NET Standard 2.0 dotnet/efcore#8595 once merged, removes .NET Standard 1.4 and all the conditional compilation we had for it.
Why do we want to do this?
Because
- it simplifies our compatibility story for the long term,
- improves the maintainability of the EF Core codebase,
- reduces the size of the EF Core packages and all its dependencies significantly (with this change, the Microsoft.Extenions.* packages can also support .NET Standard 2.0 only),
- and prevents EF Core 2.0 from falsely appearing to be compatible with platforms on which we are not doing any testing.
Please post any questions, feedback or concerns on the following discussion thread: dotnet/efcore#8598