Is there some way to get some more detail from automapper when I get this exception:
AutoMapper.AutoMapperMappingException
Often it will tell me the 2 types of the mapping, but not which resolver or part of the mapping is failing.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simple answer, is to call this method, preferably in your unit test.
see: http://docs.automapper.org/en/stable/Getting-started.html#how-do-i-test-my-mappings