.NET 6.0 RC1 release availability & Workaround
See original GitHub issueHello,
I have upgraded to .NET 6.0 RC1. I have also upgraded Entity Framework Core Tools to the 6.0.0-rc.1.21452.10 version. But the NuGet Npgsql.EntityFrameworkCore.PostgreSQL package has still the version 6.0.0-preview7.
When trying to generate a migration, there is the following error :
Method 'AppendIdentityWhereCondition' in type 'Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlUpdateSqlGenerator' from assembly 'Npgsql.EntityFrameworkCore.PostgreSQL, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' does not have an implementation.
So I guess this is normal. I have tried to downgrade the Entity Framework Core Tools to 6.0.0-preview.7.21378.4.
When doing the command dotnet tool update --global dotnet-ef --version 6.0.0-preview.7.21378.4
, I get the error message :
The requested version 6.0.0-preview.7.21378.4 is lower than existing version 6.0.0-rc.1.21452.10.
Questions :
A. When Npgsql.EntityFrameworkCore.PostgreSQL .NET 6.0 RC1 will be available ? B. Is there a command to force to an update of Entity Framework Core Tools to a lower version ? I couldn’t find one. If yes, could it solve my problem ?
Thanks for any answer.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (4 by maintainers)
@boukenka this is on the top of my list, but it may still take a few days - please be patient.
Thanks for this detailed explanation