Announcing Entity Framework Core (EF Core) 5 RC2

Jeremy Likness


Today, the Entity Framework Core team announces the second release candidate (RC2) of EF Core 5.0. This is a feature complete release candidate of EF Core 5.0 and ships with a "go live" license. You are supported using it in production. This is a great opportunity to start using EF Core 5.0 early while there is still time to fix remaining issues. We're looking for reports of any remaining critical bugs that should be fixed before the final release.


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

How to get EF Core 5.0 Release Candidate 2

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-rc.2.20475.6

This following table links to the RC2 versions of the EF Core packages and describes what they are used for.

Microsoft.EntityFrameworkCoreThe main EF Core package that is independent of specific database providers
Microsoft.EntityFrameworkCore.SqlServerDatabase provider for Microsoft SQL Server and SQL Azure
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuiteSQL Server support for spatial types
Microsoft.EntityFrameworkCore.SqliteDatabase provider for SQLite that includes the native binary for the database engine
Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuiteSQLite support for spatial types
Microsoft.EntityFrameworkCore.CosmosDatabase provider for Azure Cosmos DB
Microsoft.EntityFrameworkCore.InMemoryThe in-memory database provider
Microsoft.EntityFrameworkCore.ToolsEF Core PowerShell commands for the Visual Studio Package Manager Console; use this to integrate tools like scaffolding and migrations with Visual Studio
Microsoft.EntityFrameworkCore.DesignShared design-time components for EF Core tools
Microsoft.EntityFrameworkCore.ProxiesLazy-loading and change-tracking proxies
Microsoft.EntityFrameworkCore.AbstractionsDecoupled EF Core abstractions; use this for features like extended data annotations defined by EF Core
Microsoft.EntityFrameworkCore.RelationalShared EF Core components for relational database providers
Microsoft.EntityFrameworkCore.AnalyzersC# analyzers for EF Core

Installing the EF Core Command Line Interface (CLI)

As with EF Core 3.0 and 3.1, the EF Core CLI is no longer included in the .NET Core SDK. Before you can execute EF Core migration or scaffolding commands, you'll have to install this package as either a global or local tool.

EF Core 5.0 RC2

To install the RC2 tool globally the first time, use:

dotnet tool install --global dotnet-ef --version 5.0.0-rc.2.20475.6

If you already have the tool installed, update it with:

dotnet tool update --global dotnet-ef --version 5.0.0-rc.2.20475.6

It’s possible to use this new version of the EF Core CLI with projects that use older versions of the EF Core runtime.

What's New in EF Core 5 RC2

We maintain documentation covering new features introduced into each release. This release included several bug fixes.

Daily builds

EF Core previews and release candidates are aligned with the .NET 5 release cycle. These releases tend to lag behind the latest work on EF Core. Consider using the daily builds instead to get the most up-to-date EF Core features and bug fixes.

As with the previews, the daily builds do not require .NET 5; they can be used with GA/RTM release of .NET Core 3.1. Daily builds are considered stable.

Contribute to .NET 5

The .NET documentation team is reorganizing .NET content to better match the workloads you build with .NET. This includes a new .NET Data landing page that will link out to data-related topics ranging from EF Core to APIs, Big Data, and Machine learning. The planning and execution will be done completely in the open on GitHub. This is your opportunity to help shape the hierarchy and content to best fit your needs as a .NET developer. We look forward to your contributions!

The EF Core Community Standup

The EF Core team is now live streaming every other Wednesday at 10am Pacific Time, 1pm Eastern Time, or 17:00 UTC. Join the stream to ask questions about the EF Core topic of your choice, including the latest release candidate. Visit the .NET Community Standup page to preview upcoming shows and view recordings from past shows.

Documentation and Feedback

The starting point for all EF Core documentation is

Please file issues found and any other feedback on the dotnet/efcore GitHub repo.

The following short links are provided for easy reference and access.

Main documentation:

Issues and feature requests for EF Core:

Entity Framework Roadmap:

What's new in EF Core 5.x?

Thank you from the team

A big thank you from the EF team to everyone who has used EF over the years!

Arthur Vickers
Andriy Svyryd

Brice Lambson
Jeremy Likness
Maurycy Markowski
Shay Rojansky
Smit Patel

Thank you to our contributors!

A huge "thanks" to all the community members who have already contributed code or documentation to the EF Core 5 release!


Leave a comment

  • Avatar
    Bud pinyan

    Jeremy: I was following you (probably) 20 years ago on your Silverlight blog. I have a blazor webassembly app that has an embedded Sqlite db (ver. 3.0). Originally developed in dotnet 3.1. Tried to install on Azure Mobile Apps, but it seems intent on accepting only 5.0 apps with an Index.html in wwwroot…of course, mine does not. Tried updating the app to dotnet 5.0, but it is giving me grief about the Sqlite 3.0. The docs say that 5.0 requires Sqlite 3.7. Can’t even find a download for 3.7 (3.3 is latest LTS.)
    I have tried every entityframeworkcore.sqlite from 3.1.8 up to the latest 5.0 r2 and have not been able to get around sqlite errors.
    At one time the ef cosmos version worked with sqlite, but no reference to this in latest 5.0 docs.
    Suggestions please.

  • Avatar
    Bud pinyan

    BTW: the above mentioned database is a static neurology db that I have been using in other apps for 5 years and have never needed to change…hence no migrations needed. I read that migrations may be an issue with ef for 5.0. I could switch to a cosmos db, but this app is an offline PWA.

  • Avatar
    Denny Figuerres

    so i started a fresh app and it looks like something is broken…. i have a table that has no relations to other tables that i started to select from and i get a runtime error that “Include Property ‘xxxx.yyyy’ not found where xxx is another model and yyy is a property of that table.
    so i can only guess that the ef runtime is making a guess on a relation that is not wanted and that is braking the whole thing….

    looks like i will try the same but with the older ef for .net 4.xx so i can get the job done for now…..