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

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

@jafeli1

Description

@jafeli1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions