Hey,
I have setup a custom Automapper within my Umbraco solution. But I am getting the following error
Unmapped members were found. Review the types and members below. Add a
custom mapping expression, ignore, add a custom resolver, or modify
the source/destination type For no matching constructor, add a no-arg
ctor, add optional arguments, or map all of the constructor parameters
========================================================== AutoMapper created this type map for you, but your types cannot be mapped using
the current configuration. ContactViewModel -> ContactDto (Destination
member list) Web.Models.ContactViewModel -> DTO.Models.POCO.ContactDto
(Destination member list)
Unmapped properties: Id BrowserVersion IpAddress CreatedOn
Description: An unhandled exc
These feilds get set later, not on the mapper. I have tried telling the mapper profile to ignore the fields, and from what I can find on google it is related to the automapper configuration. But I can't see what I have been doing wrong in the umbraco setup
Custom Automapper profile error
Hey, I have setup a custom Automapper within my Umbraco solution. But I am getting the following error
These feilds get set later, not on the mapper. I have tried telling the mapper profile to ignore the fields, and from what I can find on google it is related to the automapper configuration. But I can't see what I have been doing wrong in the umbraco setup
I have setup the following profile
Mapping in my surface controller looks like
and my 2 models
is working on a reply...