Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Internal compiler error

$
0
0
I've been shuffling some custom framework C# classes into a separate C# library project so I could import them into another Unity project as a DLL. Everything has been fine for a while but now I'm getting this weird internal compiler error. The DLL compiles fine and I've been able to just copy it across to the other project before with nothing strange happening. As far as I can tell, I've done nothing strange recently and old versions of the DLL project can be rebuilt and imported without any problems. Anybody know what I could be doing wrong or how I should go about fixing this? I'm using v4.5. Here's the console log: 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 :0 at System.Reflection.Assembly.GetType (System.String name) [0x00000] in :0 at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly, System.String name) [0x00000] in :0 at Mono.CSharp.RootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in :0 at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in :0 at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in :0 at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in :0 at Mono.CSharp.TypeManager.CoreLookupType (Mono.CSharp.CompilerContext ctx, System.String ns_name, System.String name, Kind type_kind, Boolean required) [0x00000] in :0 at Mono.CSharp.PredefinedAttribute.Resolve (Boolean canFail) [0x00000] in :0 at Mono.CSharp.PredefinedAttributes.Initialize () [0x00000] in :0 at Mono.CSharp.TypeManager.InitOptionalCoreTypes (Mono.CSharp.CompilerContext ctx) [0x00000] in :0 at Mono.CSharp.Driver.Compile () [0x00000] in :0 at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>