Base solution for your next web application
Open Closed

Mapper not initialized #1720


User avatar
0
dsalodki created

Additional information: Mapper not initialized. Call Initialize with appropriate configuration. If you are trying to use mapper instances through a container or otherwise, make sure you do not have any calls to the static Mapper.Map methods, and if you're using ProjectTo or UseAsDataSource extension methods, make sure you pass in the appropriate IConfigurationProvider instance.

I use [AutoMapFrom(typeof(Provider))] public class ProviderListDto : EntityDto { public string Name { get; set; } public string Email { get; set; } public Guid Guid { get; set; } }


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Which version of ABP do you use ? And did you recently upgrade AutoMapper package ?