unity 3d 导入dll时候报错:
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.InteropServices.GuidAttribute' from assembly 'mscorlib,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089'.
at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
at System.Reflection.Assembly.GetType (System.String name,Boolean throwOnError,Boolean ignoreCase) [0x00000] in <filename unknown>:0
at System.Reflection.Assembly.GetType (System.String name) [0x00000] in <filename unknown>:0
at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly,System.String name) [0x00000] in <filename unknown>:0
at Mono.CSharp.RootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx,System.String name,Location loc,Boolean must_be_unique) [0x00000] in <filename unknown>:0
at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx,Boolean must_be_unique) [0x00000] in <filename unknown>:0
at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx,Location loc) [0x00000] in <filename unknown>:0
at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx,Location loc) [0x00000] in <filename unknown>:0
at Mono.CSharp.TypeManager.CoreLookupType (Mono.CSharp.CompilerContext ctx,System.String ns_name,Kind type_kind,Boolean required) [0x00000] in <filename unknown>:0
at Mono.CSharp.PredefinedAttribute.Resolve (Boolean canFail) [0x00000] in <filename unknown>:0
at Mono.CSharp.PredefinedAttributes.Initialize () [0x00000] in <filename unknown>:0
at Mono.CSharp.TypeManager.InitOptionalCoreTypes (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0
at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
解决办法是:这个dll不能用 去我的资源里下载新的dll替换即可。下载地址为:http://download.csdn.net/detail/hhkun0120/8146009
这个dll是原始的dll