首页 > 其他 > 详细

BadImageFormatException : Could not load file or assembly or one of its dependencies.

时间:2014-11-08 02:05:57      阅读:231      评论:0      收藏:0      [点我收藏+]

/*By Jiangong SUN*/


If you have met this exception : Could not load file or assembly ‘{Library_Name}, Version=0.0.0.0, Culture=neutral, PublicKeyToken={Token}‘ or one of its dependencies. Tentative de chargement d’un programme de format incorrect. 


It means the dll that you have referenced is not compatible with your project‘s build configuration likePlatform, or Platform target


If your the reference library is 32 bit, you need to make sure your platform and platform target is x86.


If your the reference library is 64 bit, you can configure the platform and platform target as Any CPU.


Once all these information are consistent, try to rebuild and rerun the project. :)



Enjoy coding!



reference:

http://stackoverflow.com/questions/11370344/could-not-load-file-or-assembly-an-attempt-was-made-to-load-a-program-with-a

BadImageFormatException : Could not load file or assembly or one of its dependencies.

原文:http://blog.csdn.net/garcon1986/article/details/40911119

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!