Loading LuaInterface in .net4

前端 未结 1 460
天涯浪人
天涯浪人 2021-01-28 01:54

I have a C# application I\'m working on with which I want to use the excellent LuaInterface. However when I run the application I get this exception when I try to do something w

1条回答
  •  盖世英雄少女心
    2021-01-28 02:21

    You're using the pre-compiled version of LuaInterface which was built against the 2.0 version of the framework or didn't change the build settings in the LuaInterface project. Change the target framework to the same version as you're building your application and build the library yourself. Your problem will be solved this way.

    0 讨论(0)
提交回复
热议问题