How to create a custom .NET dll loadable for Lua(forWindows)?
问题 We are doing a project in .NET framework and want to make most of its functionalities available later for Lua scripts. I thought I could compile a dll and load it to Lua script with the help of LuaInterface. But somehow it did not work. What DID work is the following: require 'luanet' luanet.load_assembly("System.Windows.Forms") Form = luanet.import_type("System.Windows.Forms.Form") Button = luanet.import_type("System.Windows.Forms.Button") form1 = Form() button1 = Button() As you can see,