Here is how you do it :)
Mapper.CreateMap(Of incomingModel, outgoingModel)().ForMember(Function(x) x.FieldToIgnore, Sub(y) y.Ignore())
The thing that is important and probably what messed you up is the Sub instead of the function for the second part.
this also only works in vs2010. older versions you cannot do.
source
share