明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1224|回复: 2

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

[复制链接]
发表于 2014-10-5 13:00 | 显示全部楼层 |阅读模式
本帖最后由 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
发表于 2014-10-5 21:38 来自手机 | 显示全部楼层
开发64位应该对应64位的dll?
 楼主| 发表于 2014-10-7 09:06 | 显示全部楼层
雪山飞狐_lzh 发表于 2014-10-5 21:38
开发64位应该对应64位的dll?

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

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

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-17 09:42 , Processed in 0.258413 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表