I am creating a web service with connection to MySql using EF and Pomelo.EntityFrameworkCore.MySql. The project is compiled normally, but when using the "Add-Migration newVersion" command the error occurs:
"Method 'get_Info' in type Pomelo.EntityFrameworkCore.MySql.Infrastructure.Internal.MySqlOptionsExtension' from assembly 'Pomelo. EntityFrameworkCore.MySql, Version = 2.2.0.0, Culture = neutral, PublicKeyToken = null 'does not have an implementation. "
I'm not sure what the reason (version mismatch or incorrect settings), I'm new to net-core , thanks if you can offer help. The code is in Github:
You appear to be creating a dotnet core v3 project, but the Pomelo driver appears to target v2.2. Try 'downgrading' your project to 2.2.