Having the same issue as this post.
After upgrading to AutoMapper 4.2.1, not suddenly errors are being thrown for unmapped properties when calling: Mapper.AssertConfigurationIsValid();
For most of them, I just explicitly set the .ignore() on each of the properties, but then I came to this one, it's a lot of properties and it made me think, well this violates the whole reason to use AutoMapper.
Am I missing something?
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> AutoMapper.AutoMapperConfigurationException:
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
==========================================================================================
NopCommerceOrderHeader -> OrderHeader (Destination member list)
NopCommerceAdapter.Domain.NopCommerceOrderHeader -> OTIS.Domain.InventoryMgmt.OrderHeader (Destination member list)
Unmapped properties:
Id
FacilityId
CustomerId
StatusId
RushOrderFlag
CashDiscountFlag
PayViaCODFlag
InvoicesLateFlag
OrderedByUserId
ProjectName
CustomerPONbr
CustomerRequestedDateTime
Notes
CreatedById
CreatedOn
ModifiedById
ModifiedOn
FixedCustomerPrice
WebOrderPaymentStatusId
AssignedToUserId
FinancialsId
OrderType
WorkReleaseHeaderId
StoreFrontId
CustomerContact
Customer
Facility
OrderHeaderStatus
UserProfile
UserProfile1
PODetails
TimeDetails
OrderNotifications
UserProfile2
ShippingContainerHeaders
WorkReleaseHeader
InvoiceHeaders
CreatedByName
ModifiedByName