Announcing Entity Framework Core 5.0 Preview 5

Today we are announcing the fifth preview release of EF Core 5.0.

The fifth previews of .NET 5 and ASP.NET Core 5.0 are also available now.


Prerequisites

The previews of EF Core 5.0 require .NET Standard 2.1. This means:

  • EF Core 5.0 runs on .NET Core 3.1; it does not require .NET 5.

This may change in future previews depending on how the plan for .NET 5 evolves

  • EF Core 5.0 runs on other platforms that support .NET Standard 2.1.

  • EF Core 5.0 will not run on .NET Standard 2.0 platforms, including .NET Framework.


How to get EF Core 5.0 previews

EF Core is distributed exclusively as a set of NuGet packages.

For example, to add the SQL Server provider to your project, you can use the following command using the dotnet tool:

dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 5.0.0-preview.5.20278.2

The EF Core packages published today are: