There was a mismatch between the processor architecture of the project

来源:互联网 发布:淘宝商务模式接单 编辑:程序博客网 时间:2024/06/05 07:37

警告    1  There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "G:\qqq\qqq\LD_ElectricBusiness\_qqq\qqq\qqq.exe", "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 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.    LD_Qry

原因:

LD_Qry的目标平台:AnyCPU,引用了LD_ElectricBusiness,而LD_ElectricBusiness的目标平台:x86

解决方法:

1,去掉引用:LD_ElectricBusiness

2,统一LD_Qry,LD_ElectricBusiness的目标平台

0 0