Is there any way to auto-configue Automapper to scan for all profiles in namespace/assembly? What I would like to do is to add mapping profiles to AutoMapper from given asse
In .NET Core:
services.AddSingleton(this.CreateMapper()); //... private IMapper CreateMapper() => new MapperConfiguration(config => config.AddMaps(Assembly.Load("Your.Project.App"))) .CreateMapper();