You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until the fix is included in the NuGet package: You can always use luanet:
luanet.load_assembly("System.Windows.Forms")
Form=luanet.import_type("System.Windows.Forms.Form")
form=Form()
form.Text="This is a cool dialog"form:ShowDialog()
form=nil
This code should work, but won't:
DynamicLua does not call the method LoadCLRPackage() of NLua, therefore acessing or even importing the CLR classes does not work.
This is a workarround/hack to fix it:
This is a pretty nasty bug, since this is one of the really cool features of NLua 😦
The text was updated successfully, but these errors were encountered: