The latest package does not support Net 6 ef core 6
ByZhouhang opened this issue · comments
i use office test change InMemoryDatabase to localdb
optionsBuilder.UseSqlServer(
@"Server=(localdb)\mssqllocaldb;Database=automapperTest;Trusted_Connection=True");
when run :
db.Things.Persist(_mapper).InsertOrUpdate(new ThingDto { ID = 1, Title = "Test4444" });
throw exception: Method not found: 'Microsoft.EntityFrameworkCore.Metadata.IEntityType Microsoft.EntityFrameworkCore.ModelExtensions.FindEntityType(Microsoft.EntityFrameworkCore.Metadata.IModel, System.Type)'.
at AutoMapper.EntityFrameworkCore.GenerateEntityFrameworkCorePrimaryKeyPropertyMaps`1.GeneratePropertyMaps(TypeMap typeMap)
@ByZhouhang This is the same as issue #55 and is already fixed in release v7.1.0
But that release isn't yet pushed to NuGet.
@TylerCarlson1 is it possible to push this release to NuGet? I also need this for the migration to .NET 6.0 in my project.
Correct me if I am not tagging the right person for this.
Thanks in advance
@ByZhouhang This is the same as issue #55 and is already fixed in release v7.1.0 But that release isn't yet pushed to NuGet.
@TylerCarlson1 is it possible to push this release to NuGet? I also need this for the migration to .NET 6.0 in my project. Correct me if I am not tagging the right person for this. Thanks in advance
maybe how long do I have to wait? hope as soon as possible ,deeply appreciate
The v7.1.0 package have references to the .net 6 rc1 packages, #59 is updating them to the rtm version.
The v7.1.0 package have references to the .net 6 rc1 packages, #59 is updating them to the rtm version.
deeply appreciate !
Recently, I encountered some problems while learning the use of automapper. I began try to use GitHub issue and stack overflow. I post my question in automapper discussions but found nobody answer my question, which makes me feel a little depressed. I don't know whether it is the problem I use or whether automapper doesn't support it。
When you have time, can you give a brief look automapper discussions ?