“Missing type map configuration or unsupported mapping” after deploying

天涯浪子 提交于 2019-12-11 00:45:48

问题


Each time after I deploy my code into IIS I keep getting the error "Missing type map configuration or unsupported mapping".

Once I restart IIS, the problem goes away, so I don't think it's my code. However, today, I am continuing to get this error.

The mapping error initially happened in one place and after restarting, it is now happening on different mappings, so it's not always the same place.

Is there anything with a release into IIS that would cause Automapper to use a previously "cached" assembly, which would explain why when I restart IIS it fixes itself?

I'm pretty stumped here.

来源:https://stackoverflow.com/questions/32872208/missing-type-map-configuration-or-unsupported-mapping-after-deploying

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!