Automapper is a good tool. But i have some problems .
While debugging the project it works fine , all mapping operations are succeded. But in release mode it throws mappingexception with exactly the same data.
What can be the problem ?
my environment is Win7 , 32 bit, VS 2010 . projects works on .net 4.0 profile.
Mapper.CreateMap<V_Person_Details,Person>();
Mapper.Map(curr_V_Person, cur_Person); /// exception throws here in just release mode , not in debug mode
///Trying to map System.String to System.nullable .... Destination property SSS_ID : exception of the Automapper.AutomapperMappingException was thrown.
....
Run the Mapper.AssertConfigurationIsValid() method in debug mode to verify that you don’t have any configuration errors that is only showing up in release mode.