Base solution for your next web application
Open Closed

Pomelo MySql EntityFramework Provider conflicts in latest version #9917


User avatar
0
gtejeda created
  • What is your product version? 10.0.0.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .Net Core

Greetings, I just started to develop my first asp.net zero solution.

Followed this link found in this forum: https://aspnetboilerplate.com/Pages/Documents/EF-Core-MySql-Integration

Used the Official MySQL EF Core Provider.

When I run the Migrator I get this error: An unhandled exception occurred while processing the request. TypeLoadException: Method 'Create' in type 'MySql.Data.EntityFrameworkCore.Query.Internal.MySQLSqlTranslatingExpressionVisitorFactory' from assembly 'MySql.Data.EntityFrameworkCore, Version=8.0.22.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does not have an implementation.

MySql.Data.EntityFrameworkCore.Extensions.MySQLServiceCollectionExtensions.AddEntityFrameworkMySQL(IServiceCollection services)

When I tried using the Pomelo EF Core Provider I get versioning conflicts

Any help would be greatly appreciated, Geo


2 Answer(s)
  • User Avatar
    0
    zony created
    Support Team

    Hi gtejeda, Pomelo.EntityFrameworkCore.MySql does not officially support .NET 5.0, you can try the Prerelease version.

  • User Avatar
    0
    gtejeda created

    Thanks a lot Zony, that took care of it!!