Skip to content

Instantly share code, notes, and snippets.

@lewurm
Created March 14, 2017 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewurm/bf216f576acbc09e34dc6289febc41b2 to your computer and use it in GitHub Desktop.
Save lewurm/bf216f576acbc09e34dc6289febc41b2 to your computer and use it in GitHub Desktop.
*** The runtime 'mono' doesn't appear to be usable.
*** Trying the 'monolite' directory.
cant resolve internal call to "System.RuntimeTypeHandle::HasReferences(System.RuntimeType)" (tested without signature also)
Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/lewurm/work/mono/mcs/class/lib/monolite/mscorlib.dll
When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
Microsoft (R) Visual C# Compiler version 2.3.0.56735
Copyright (C) Microsoft Corporation. All rights reserved.
cant resolve internal call to "System.RuntimeTypeHandle::HasReferences(System.RuntimeType)" (tested without signature also)
Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/lewurm/work/mono/mcs/class/lib/monolite/mscorlib.dll
When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
Unhandled Exception:
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Attempted to access a missing method.
at (wrapper managed-to-native) System.RuntimeTypeHandle:HasReferences (System.RuntimeType)
at System.Runtime.CompilerServices.RuntimeHelpers.IsReferenceOrContainsReferences[T] () [0x00011] in <f4ecde6810504519927522a0ab838d31>:0
at System.Collections.Generic.Stack`1[T].Pop () [0x0001c] in <8c3973126a4d404f9415bd858bb7b4a0>:0
at Microsoft.CodeAnalysis.GreenNode.ProcessStack (System.IO.TextWriter writer, System.Collections.Generic.Stack`1[T] stack) [0x00007] in <9567b0fbb835411c91b95ded2bbf919c>:0
at Microsoft.CodeAnalysis.GreenNode.WriteTo (System.IO.TextWriter writer, System.Boolean leading, System.Boolean trailing) [0x00016] in <9567b0fbb835411c91b95ded2bbf919c>:0
at Microsoft.CodeAnalysis.GreenNode.ToFullString () [0x00018] in <9567b0fbb835411c91b95ded2bbf919c>:0
at Microsoft.CodeAnalysis.SyntaxNode.ToFullString () [0x00007] in <9567b0fbb835411c91b95ded2bbf919c>:0
at Microsoft.CodeAnalysis.SyntaxTreeExtensions.VerifySource (Microsoft.CodeAnalysis.SyntaxTree tree, System.Collections.Generic.IEnumerable`1[T] changes) [0x000d2] in <9567b0fbb835411c91b95ded2bbf919c>:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment