Please update the project to use EF Core 7.0 and Mapster 7.4.0-pre05. The latter has changes to it and requires the use of ITypeAdapterBuilder instead of TypeAdapterBuilder.
Currently the dependencies are for Mapster 4.1.1 and Ef Core 2.0.0 which are way old.