When trying to run it with .net 6 and ef core 6.0.1 this throws an exception during startup.
System.MissingMethodException: Method not found: 'System.Type Microsoft.EntityFrameworkCore.Metadata.ITypeBase.get_ClrType()'.
at Microsoft.EntityFrameworkCore.DbContextExtensions.AutoHistory[TAutoHistory](EntityEntry entry, Func`1 createHistoryFactory)
at Microsoft.EntityFrameworkCore.DbContextExtensions.EnsureAutoHistory[TAutoHistory](DbContext context, Func`1 createHistoryFactory)
at Microsoft.EntityFrameworkCore.DbContextExtensions.EnsureAutoHistory(DbContext context)
When trying to run it with .net 6 and ef core 6.0.1 this throws an exception during startup.