Need more explanations for -l and -module
Please help. You said that .NET DLLs can't be used directly as they need to be decompiled to C# first. So what do these switches do?
@yanghuan @Drake53
The -module parameter is used when compiling a DLL project with CSharp.lua. The -l parameter is used to indicate that the project being compiled by CSharp.lua has a reference to this DLL project. To ensure proper execution in Lua, both of these parameters need to be used in conjunction.
To ensure proper execution in Lua, both of these parameters need to be used in conjunction.
Please give me an example. I think I still not really understand this part of your answer. Thank you.
https://github.com/yanghuan/CSharp.lua/blob/master/test/BridgeNetTests/Tests/test.lua#L12 test project use it, you can see this example
#502
@yanghuan @Drake53 The DLL to be used with the -l switch is a .NET assembly or a Lua extension DLL? Please clarify.