最佳答案
我们在一个项目中使用了 Automapper,似乎随机得到了以下错误:
自动绘图软件。AutoMapperConfigurationException: 找到未映射的成员。查看下面的类型和成员。添加自定义映射表达式、忽略、添加自定义解析器或修改源/目标类型
密码已经好几个月没更改了。我得到那个错误,刷新,错误消失了,页面工作正常。我在吸毒
Mapper.AssertConfigurationIsValid();
不知道为什么它抱怨映射不好,然后刷新,再次罚款,有人遇到这个吗?调试没有帮助,因为它是随机的,有时没有错误,然后其他日子它会弹出在网站的某个地方,回到它和它的罚款。这个错误也会出现在随机的页面上,不是同一个页面,不是同一个映射。