cmondestin / luainterface

Automatically exported from code.google.com/p/luainterface
0 stars 0 forks source link

luanet not work #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. All lua sample code can not run
2.
3.

What is the expected output? What do you see instead?
For example:
    lua code : Forms=luanet.System.Windows.Forms
    Returned error message:"A .NET exception occured in user-code"

Please provide any additional information below.

After the R15 version is a problem, I found that "Issue 17" is not correct.

ObjectTranslator.cs line:216
                if (assembly == null)
                {
                        assembly = Assembly.Load(AssemblyName.GetAssemblyName(assemblyName));
                }
Change to:
                if (assembly == null)
                {
                    if (File.Exists(assemblyName)) assembly = Assembly.Load(AssemblyName.GetAssemblyName(assemblyName));
                }

Original issue reported on code.google.com by abalonel...@gmail.com on 18 May 2011 at 12:24