Skip to content

Argument 2: cannot convert from 'System.Type' to 'System.Action<AutoMapper.IMapperConfigurationExpression>' #4551

@khteh

Description

@khteh
services.AddAutoMapper(typeof(MyProfile));

Can you please provide more details how to fix this!?!

Is this https://docs.automapper.io/en/latest/Dependency-injection.html for your own internal developers!?! What's profileAssembly1 and/or ProfileTypeFromAssembly1!?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions