问题描述
我将 Kitware VTK 用于我收到的 .Net 应用程序:
An unhandled exception of type 'System.BadImageFormatException' occurred in MyLibrary.dll
Additional information: Could not load file or assembly 'Kitware.VTK,Version=5.8.0.607,Culture=neutral,PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies. An attempt was
made to load a program with an incorrect format.
当我查看警告列表时,会出现以下消息:
There was a mismatch between the processor architecture of the project being built "MSIL"
and the processor architecture of the reference "Kitware.mummy.Runtime,Version=1.0.2.599,PublicKeyToken=995c7fb9db2c1b44,processorArchitecture=AMD64","x86".
This mismatch may cause runtime failures. Please consider changing the targeted processor
architecture of your project through the Configuration Manager so as to align the processor
您的项目和引用之间的架构,或者依赖于具有与您的项目的目标处理器架构相匹配的处理器架构的引用
此消息出现在 KitWare.mummy 和 Kitware.VTK
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)