From 76a9f8b6ca64b93a35e8d42d9fb93fd823b26571 Mon Sep 17 00:00:00 2001 From: Arthur Vickers Date: Wed, 6 Jan 2021 12:09:00 -0800 Subject: [PATCH] Add .NET Standard 2.1 support to breaking changes (#2985) Fixes #2958 --- .../ef-core-5.0/breaking-changes.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/entity-framework/core/what-is-new/ef-core-5.0/breaking-changes.md b/entity-framework/core/what-is-new/ef-core-5.0/breaking-changes.md index cbe39f7023..5d14166fff 100644 --- a/entity-framework/core/what-is-new/ef-core-5.0/breaking-changes.md +++ b/entity-framework/core/what-is-new/ef-core-5.0/breaking-changes.md @@ -14,6 +14,7 @@ The following API and behavior changes have the potential to break existing appl | **Breaking change** | **Impact** | |:--------------------------------------------------------------------------------------------------------------------------------------|------------| +| [EF Core 5.0 does not support .NET Framework](#netstandard21) | Medium | | [IProperty.GetColumnName() is now obsolete](#getcolumnname-obsolete) | Medium | | [Precision and scale are required for decimals](#decimals) | Medium | | [Required on the navigation from principal to dependent has different semantics](#required-dependent) | Medium | @@ -38,6 +39,28 @@ The following API and behavior changes have the potential to break existing appl ## Medium-impact changes + + +### EF Core 5.0 does not support .NET Framework + +[Tracking Issue #15498](https://github.com/dotnet/efcore/issues/15498) + +#### Old behavior + +EF Core 3.1 targets .NET Standard 2.0, which is supported by .NET Framework. + +#### New behavior + +EF Core 5.0 targets .NET Standard 2.1, which is not supported by .NET Framework. This means EF Core 5.0 cannot be used with .NET Framework applications. + +#### Why + +This is part of the wider movement across .NET teams aimed at unification to a single .NET target framework. For more information see [the future of .NET Standard](https://devblogs.microsoft.com/dotnet/the-future-of-net-standard/). + +#### Mitigations + +.NET Framework applications can continue to use EF Core 3.1, which is a [long-term support (LTS) release](https://dotnet.microsoft.com/platform/support/policy/dotnet-core). Alternately, applications can be updated to use .NET Core 2.1, .NET Core 3.1, or .NET 5, all of which support .NET Standard 2.1. + ### IProperty.GetColumnName() is now obsolete