LuaInterface在vs 2015 RC项目中存在问题。

我正在使用 LuaInterface,允许在我的C#控制台应用程序中使用lua。我最初在VS2012上编写它,没有任何问题。但我必须将下面的代码块添加到app.config文件才能运行:

        <runtime>
           <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
             <dependentAssembly>
                <assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.2.28.0" newVersion="4.2.28.0" />
               </dependentAssembly>
           </assemblyBinding>
        </runtime>

我目前正在使用带有.NET 4.6的VS 2015 RC,并出现以下错误:

    not load file or assembly 'lua51, Version=0.0.0.0, Culture=neutral, PublicKeyToken=1e1fb15b02227b8a' or one of its dependencies. An attempt was made to load a program with an incorrect format

此外,我已经下载了luainterface的源代码,并能够在VS 2015中编译该代码。有没有解决这个问题的方法? 谢谢您的帮助!

点赞