我正在尝试让 Lua 系统在我的 .NET 4.0 应用程序中运行。我使用 LuaInterface 作为 Lua 的包装器,它是在 .NET 4.0 下编译的
在安装了 VS2010 的开发计算机上运行 Lua 脚本时,该应用程序运行良好。但是在另一台计算机上运行它时,我得到了 FileNotFoundException。
System.IO.FileNotFoundException: Could not load file or assembly 'lua51.dll' or one of its dependencies. The specified module could not be found.
lua51.dll 与应用程序位于同一文件夹中,因此我看不出有任何问题。所以这一定意味着它找不到 lua51.dll 依赖的文件。这就是问题所在。
我需要让我的用户安装哪些文件才能使其正常工作?