PM> Add-Migration Unidade
PM> Add-Migration Unidade
System.MissingMethodException: Method not found: 'Void Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommandBuilderFactory..ctor(Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger1<Command>, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper)'.
at MySql.Data.EntityFrameworkCore.Storage.Internal.MySQLCommandBuilderFactory..ctor(IDiagnosticsLogger
1 logger, IRelationalTypeMapper typeMapper)
--- End of stack trace from previous location where exception was thrown ---
(...)
(...)
(No final em vermelho...)
Method not found: 'Void Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommandBuilderFactory..ctor(Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger`1, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper)'.
Estou utilizando o pacote Microsoft.EntityFrameworkCore.Tools 2.1.2 do NuGet. Windows 10 Visual Studio 2017 - Enterprise
PM> Get-Package
Id Versions ProjectName
MySql.Data {8.0.12} EF_CRUDMicrosoft.EntityFrameworkCore.Tools {2.1.2} EF_CRUDMicrosoft.NETCore.App {2.1} EF_CRUDMySql.Data.EntityFrameworkCore {8.0.12} EF_CRUD