-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Method 'get_LockReleaseBehavior' in type 'Pomelo.EntityFrameworkCore.MySql.Migrations.Internal.MySqlHistoryRepository' from assembly 'Pomelo.EntityFrameworkCore.MySql, Version=9.0.0.0, Culture=neutral, PublicKeyToken=2cc498582444921b' does not have an implementation. #1944
Comments
Same as last comment with general access to the database with EF Core 9.0, Pomelo 9.0.0-preview.1 and MySql 8.4:
|
You are attempting to mix 9.0.0 EF with a non-9.0.0 version of the MySQL provider, that won't work. You'll have to wait for the 9.0.0 GA version of the MySQL provider. |
@roji Is there an ETA for the GA version? |
I'm not the maintainer of this provider; but note that this is an open-source project maintained by contributors - you'll likely have to be a bit patient. |
@DLozanoNavas For updates on our EF Core 9 support, follow #1841. |
Note that whilst using MySql.EntityFrameworkCore 9.0.0-preview instead of Pomelo.EntityFrameworkCore.MySql, I got a very similar error: Method 'get_LockReleaseBehavior' in type 'MySql.EntityFrameworkCore.Migrations.Internal.MySQLHistoryRepository' from assembly 'MySql.EntityFrameworkCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does not have an implementation. |
There is now a EF Core 9.0.x compatible prerelease version available in our nightly build feeds. |
I confirm! I went live with EFCore 9.0 and MySQL with this. Thanks @lauxjpn! Word of note for everyone: Visual Studio sorts prerelease releases by type. So it thinks that 9.0.0-preview.2.ci.20240426151710 is the latest prerelease version. You need to scroll down and look for 9.0.0-alpha.1.ci.20241207210245 in order to update to the latest version. |
I have update to "Pomelo.EntityFrameworkCore.MySql -Version 9.0.0-alpha.1.ci.20241207210245" but still getting the error as jhouzvicka mentioned above:- |
I perform the following Should i read "9.0.0-preview.1 ? my csproj file read Yours confused ;-) |
@CliffConway We have released an official prerelease version. |
Steps to reproduce
Ideally include a complete code listing that we can run to reproduce the issue.
Alternatively, you can provide a project/solution that we can run.
The issue
Describe what is not working as expected.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Further technical details
MySQL version: 8.0
Operating system: Win11
Pomelo.EntityFrameworkCore.MySql version: 9.0.0-preview1
Microsoft.AspNetCore.App version: 9.0
Other details about my project setup:
The text was updated successfully, but these errors were encountered: