Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EF Core 3.x installation doesn't work #1948

Closed
Leon99 opened this issue Nov 26, 2019 — with docs.microsoft.com · 2 comments
Closed

EF Core 3.x installation doesn't work #1948

Leon99 opened this issue Nov 26, 2019 — with docs.microsoft.com · 2 comments

Comments

Copy link

Leon99 commented Nov 26, 2019

the very first step, dotnet tool install --global dotnet-ef, fails with

error NU1202: Package dotnet-ef 3.0.1 is not compatible with netcoreapp3.0 (.NETCoreApp,Version=v3.0) / any. Package dotnet-ef 3.0.1 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1)
The tool package could not be restored.

If the tool requires .NET Core 2.1, it should be documented.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@smitpatel
Copy link
Member

It is a bug in the product as tracked at dotnet/efcore#18977

Copy link

As a workaround downgrade your project from 3.0.1 EF Core packages to 3.0.0. Then install the EF 3.0.0 tools from the CLI if youdidn't already do it from the package manager. Then restart your project. This is the only thing that has worked for me so far. Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants