Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Saltarelle.Compiler 2.7.0 - INTERNAL ERROR: System.TypeLoadException #448

Open
jafeli1 opened this issue Jan 30, 2019 · 0 comments
Open

Comments

@jafeli1
Copy link

jafeli1 commented Jan 30, 2019

Thanks for your Saltarelle.Compiler. My application uses the 2.7.0 version. I am receiving the following compile exception which has proved impossible to resolve. The mscorlib.dll installed is from the \packages\Saltarelle.Runtime.2.7.0\tools\Assemblies. Can you help?

Error 1 INTERNAL ERROR: System.TypeLoadException: Type 'System.Runtime.InteropServices.ImportedFromTypeLibAttribute' not found in assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a4048e8fcc593f14' at IKVM.Reflection.Universe.GetMissingTypeOrThrow(Module requester, Module module, Type declaringType, TypeName typeName) at IKVM.Reflection.Assembly.ResolveType(Module requester, TypeName typeName) at IKVM.Reflection.Reader.ModuleReader.ResolveType(Int32 metadataToken, IGenericContext context) at IKVM.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) at IKVM.Reflection.Reader.ModuleReader.GetMemberRef(Int32 index, Type[] genericTypeArguments, Type[] genericMethodArguments) at IKVM.Reflection.Reader.ModuleReader.ResolveMethod(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) at IKVM.Reflection.CustomAttributeData.get_Constructor() at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.AddCustomAttributes(IEnumerable1 attributes, ICollection1 targetCollection) at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.AddAttributes(Assembly assembly, IList1 outputList) at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.LoadAssembly(Assembly assembly) at Saltarelle.Compiler.Driver.CompilerDriver.<LoadReferences>b__27(Assembly asm) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Saltarelle.Compiler.Driver.CompilerDriver.LoadReferences(IEnumerable1 references, IErrorReporter er) at Saltarelle.Compiler.Driver.CompilerDriver.Compile(CompilerOptions options).

Thanks

Joseph

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant