https://github.com/AutoMapper/AutoMapper/wiki/Migrating-from-static-API
this change breaks my system.
Before update, I use:
===> Startup.cs
Instead of:
Mapper.CreateMap();
The new syntax is:
var config = new MapperConfiguration(cfg => { cfg.CreateMap(); });
Then:
IMapper mapper = config.CreateMapper(); var source = new AbcEditViewModel(); var dest = mapper.Map(source);
(Source with more examples)