HRESULT:0x80131040:找到的程序集的清单定义与程序集引用不匹配 [英] HRESULT: 0x80131040: The located assembly's manifest definition does not match the assembly reference

查看:139
本文介绍了HRESULT:0x80131040:找到的程序集的清单定义与程序集引用不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

找到的程序集的清单定义与程序集引用不匹配

The located assembly's manifest definition does not match the assembly reference

在通过ncover运行nunit时获取此引用。知道吗?

getting this when running nunit through ncover. Any idea?

推荐答案

这是程序集之间的不匹配:从程序集引用的DLL没有预期的方法签名

This is a mismatch between assemblies: a DLL referenced from an assembly doesn't have a method signature that's expected.

清洁解决方案,重建所有内容,然后重试。

Clean the solution, rebuild everything, and try again.

此外,如果这是对GAC中内容的引用,请当心;可能是某处某处指向不正确的版本。确保(通过每个引用的属性)选择了正确的版本或特定版本设置为false。

Also, be careful if this is a reference to something that's in the GAC; it could be that something somewhere is pointing to an incorrect version. Make sure (through the Properties of each reference) that the correct version is chosen or that Specific Version is set false.

这篇关于HRESULT:0x80131040:找到的程序集的清单定义与程序集引用不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆