Open Shark-vil opened 4 years ago
I tried to fix it somehow, it didn’t work out very well.
Error 1:
error CS2001: Source file E:/Unity' could not be found error CS2001: Source file
Projects/FirstExp/Assets/AssemblyInfo.cs' could not be found
UnityEngine.Debug:LogError(Object)
SLua.LuaCodeGen:CompileDLL() (at Assets/Slua/Editor/LuaCodeGen.cs:643)
Error 2: Assets\AssemblyInfo.cs(1,12): error CS0619: 'UnityAPICompatibilityVersionAttribute.UnityAPICompatibilityVersionAttribute(string)' is obsolete: 'This overload of the attribute has been depreacted. Use the constructor that takes the version and a boolean'
Compile LuaObject to DLL. Error text: NotSupportedException: The invoked member is not supported in a dynamic module. System.Reflection.Emit.AssemblyBuilder.get_CodeBase () (at <7d97106330684add86d080ecf65bfe69>:0) SLua.LuaCodeGen.CompileDLL () (at Assets/Slua/Editor/LuaCodeGen.cs:532)