未能加载文件或程序集 或它的某一个依赖项。试图加载格式不正确的程序。问题解决

时间:2017-06-28 11:36:11   收藏:0   阅读:1019

在调用mcp2210_dll_m_dotnetv4_x86.dll时,出现上述问题,并且存在warning:There was a mismatch between the processor architecture of the project being build "MSIL" and the processor architecture of the reference "[internal C# dll]", "x86".

解决方法如下:

由于dll是x86版本的,所以需要工程下面所有platform的都得为x86,打开 ‘main property‘在

技术分享

将所有的platform都改为x86,解决了问题。

原文:http://www.cnblogs.com/quray/p/7088857.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!