我将LuaInterface导入到一个控制台项目中,引用它,并编写了一个小测试脚本。当我运行它时,我得到这样的结果:
Could not load file or assembly 'LuaInterface, Version=2.0.0.16708, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.请原谅我是个新手,但我不明白这是什么意思。我该怎么做?
发布于 2009-08-27 11:05:12
您运行的是64位操作系统吗?
如果是,则需要获取LuaInterface的x64版本,或者将控制台项目的平台目标设置为x86。

您可以在此处阅读平台目标选项:http://visualstudiohacks.com/articles/visual-studio-net-platform-target-explained/
https://stackoverflow.com/questions/1340265
复制相似问题