notsupportedexception - Automapper 3.0 - This type is not supported on this platform IMapperRegistry -


i updated project use automapper 3.0.0 , tfs build not succeeding. error following:

"...system.platformnotsupportedexception: system.platformnotsupportedexception: type not supported on platform imapperregistry."

is there can me resolve issue. in mean time, going revert previous version since 1 seems work fine.

we had same issue on our build server. mstest seemed remove dlls deemed unnecessary (note : claim educated guess). fix it, add explicit call in automapper.net4.dll. instance, class listsourcemapper :

var useless = new listsourcemapper() 

adding project shared other projects fixed us. put line of code may vary.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -