-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
error NU1202: Package dotnet-ef 3.0.1 is not compatible with netcoreapp3.0 #18977
Comments
same here, does it mean that |
same here, and I think this issue a typo |
Guess there is a bug that was meant to be netcoreapp >= 2.1 instead of netcoreapp == 2.1. |
I'm assuming we didn't make any changes to |
I fixed the package in release/3.1 for 3.1.0-preview2, but it looks like it also got broken in release/3.0. I can backport the fix. |
Does someone know when this issue will be fixed? |
@Pilchie Is unlisting enough to prevent |
I think it will, but looping in @nguerrera to confirm. |
I don’t know so I’ve added Will to confirm |
Right now without fix in 3.0.1 you cannot run |
@bricelam Presumably the workaround for anyone hitting this is to install the 3.0.0 version explicitly?
|
I've got 3.0.0 installed and it still errors with. "The EF Core tools version '3.0.0' is older than that of the runtime '3.0.1'. Update the tools for the latest features and bug fixes." |
@nkolev92 can unlist stop nuget restore "*" that version? I heard from Gallery folks that unlist only controls nuget.org's search |
@Kant8 and @derekforeman I have the
What's different in your environment? |
When taking ajcvickers recommendation to explicitly install 3.0.0, I no longer receive the error message. |
Tagging @JunTaoLuo who was interested in this. |
That is correct, unlist only affects search. |
@dougbu Completely the same, but I also had Microsoft.EntityFrameworkCore.SqlServer of version 3.0.1. I've downgraded this one too and now everything works perfectly. |
I have both the {
"sdk": {
"version": "3.0.100"
}
} and then ran the command @ajcvickers suggested above. Hopefully |
I don't know why, but specifying a patch number didn't work for me, so i just used:
It's working properly now. Hope this helps, until we get the next patch working! |
@KbKev78, I’ve updated EF-Migrations-Script-Generator-Task so you are able to specify which version of dotnet-ef to be install. If you enter 3.0.0 you should be fine. I hope this makes the problem easier to deal with until it’s solved. |
Nice job, thanks. Once the underlying issue is resolved I will clear that version number. Oh, and that's a nice plugin, by the way. Cheers. |
I have "dotnet ef" version 3.0.0 installed. Now command "dotnet ef dbcontext scaffold ..." stopped working, giving this message: "The EF Core tools version '3.0.0' is older than that of the runtime '3.0.1'. Update the tools for the latest features and bug fixes." What should i do to fix it? I cannot install "dotnet ef 3.0.1" because of subject error message. |
@sibeliuz check you do not have any EFCore related dependencies in project of version 3.0.1. You probably have Microsoft.EntityFrameworkCore.Design 3.0.1 (or ...SqlServer, etc.) |
For me it is just a warning, and command still works after printing it. |
It is weird,but for me helped add |
Yes, it turns out it is just a warning and everything functioned as intended for me. I am not sure whether it is appropriate to make suggestion here, and I found that this message is extremely confusing and lacks of explaination on what's happening underneath. If this message is only intended as a warning message, then at a minimal extent, it should has some sort of hints (i.e. [WARNING]) to tell the user it is a warning indeed, Thanks! |
@chungonion It's not actually even a warning. It's just letting you know that you're not running the latest so you won't be getting the latest features and bug fixes. |
@ajcvickers That's why some sort of indications should be displayed in the terminal |
I follow the suggestion from here: |
in .csproj file:
it helps me. i guess they have to be same version. |
I just started a completely new webapi via Visual Studio and I'm getting the error below when I'm trying to install dotnet-ef 3.1.8
|
@juliofalbo Hi, it looks like you are posting on a closed issue/PR/commit! We're very likely to lose track of your bug/feedback/question unless you:
|
I'm installing dotnet-ef 3.0.1 on Azure DevOps release pipeline with dotnetcore 3.0; installation fails with incompatibility error.
Steps to reproduce
Run
Expected
Actual
Further technical details
EF Core version: 3.0
dotnet-ef version: 3.0.1
Issue is NOT seen in dotnet-ef version 3.0.0. I'm currently using this version to resolve the issue.
The text was updated successfully, but these errors were encountered: