如何修复尝试使用 FxCop 自省引擎时出现的此异常?
当我尝试使用 FxCop 自省引擎时遇到异常:
Could not load file or assembly 'Microsoft.Cci, Version=9.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
An attempt was made to load a program with an incorrect format.
此异常是什么意思以及如何修复它?
I am getting an exception when I try to use the FxCop introspection engine:
Could not load file or assembly 'Microsoft.Cci, Version=9.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
An attempt was made to load a program with an incorrect format.
What does this exception mean and how can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,修好了。 FxCop 程序集是 32 位,我的项目是 64 位。 将构建更改为 x86,问题已解决。
Ok, fixed it. FxCop assemblies are 32bit, my project was 64bit. Changed the build to x86 and the problem is fixed.