Method not found: 'Void CoreTypeMappingParameters..ctor(System.Type, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer, System.Func`3<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>)'.
I am getting this error. Please help me to solve this.
How to solve my problem?
CodePudding user response:
I think this is the same problem that I was seeing, and the solution is described in this question:
In a nutshell, what worked was making sure all the entity framework packages were the same version (in my case 6.0.10). I had a 7.0.something version sneak into one project and that caused the error.
CodePudding user response:
Uninstall 7.0 version of Microsoft.EntityFrameworkCore.Design and then
In NuGet package manager console (PMC), run
PM> Install-Package Microsoft.EntityFrameworkCore.Design -Version 6.0.10