Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I am using ubuntu 11.11 and mono,

Under references/gtk-sharp, I am shown

"Assembly not available for Mono/.NET 2.0(in Mono 2.10.5)"

How do I resolve this?

share|improve this question

Ubuntu has policy of only including only one version of a package. In ubuntu 11.11 the version of mono that is included supports .net 4. So any program referencing .net 2.0 assemblies will not work. You need to change your project to .net 4.0 and update your references to use the .net 4.0 version of the assemblies you need.

share|improve this answer

As an example, the following invocation remedied the identical issue you mention for me:

mono --runtime=v4.0 hello.exe

Otherwise the runtime version defaults to v2.0.50727.

share|improve this answer

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.