Ms_yam 发表于 2014-10-5 13:00:52

【编译警告】架构不匹配,求大师指点

本帖最后由 Ms_yam 于 2014-10-5 13:02 编辑

错误原文如下:
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "acmgd", "AMD64". 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 architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. CADProject.

同样的问题存在于:acdbmgd

开发环境:VS2010 + AutoCAD2010

雪山飞狐_lzh 发表于 2014-10-5 21:38:46

开发64位应该对应64位的dll?

Ms_yam 发表于 2014-10-7 09:06:11

雪山飞狐_lzh 发表于 2014-10-5 21:38 static/image/common/back.gif
开发64位应该对应64位的dll?

系统是Win7 x64
AutoCAD 2010 x64
VS 2010
配置为Debug、Release都试过
平台AnyCPU、X64、X86都试过

CAD能正常加载应用
但Reflector打开会报错:”发现不明确的匹配“。只可以看到成员,无法看到成员实现代码。(IL代码除外)

还有一点就是之前我这个源代码一直这样用都没有问题。

页: [1]
查看完整版本: 【编译警告】架构不匹配,求大师指点