Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday I installed MonoDevelop 3.0 by following the steps suggested in this answer. However when I try to create a new solution, of any of the provided types, I get the following error:

An error has occurred.

A type load exception has occurred.

System.TypeLoadException: A type load exception has occurred.
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

I posted this question elsewhere, and it was suggested that there might be some compatibility issue between Pangolin and MonoDevelop.

What does this error mean, and how do I fix it? Thanks.

share|improve this question

I had a similar error when trying to start a program called keepass on 12.04. This solved it:

sudo apt-get install mono-devel
share|improve this answer
Thanks dgmdan, fixed one problem I had with an application. Fell over on PresentationCore after that though :( – Ash Jun 22 '13 at 7:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.