The fun part is, I do have .NET 4.0 installed, as well as all GTK#. I thought maybe I installed it in the wrong order or something ridiculous, so I uninstalled and re-installed everything. I even tried installing plain old mono, and then installing monodevelop, but I still get that same error.
views:
114answers:
2
A:
IIRC MonoDevelop 2.4 had a bug that prevented it targeting the final released version of .NET 4.0. The fix should be in MonoDevelop 2.4.1.
As a workaround, assuming you installed Mono 2.8 (which has 4.0 support), you can change your target runtime to Mono instead of .NET. Either
- Change the default using the Tools -> Options menu, then the .NET Runtimes panel
or
- Change the target of the current project using the Project->Target Runtime menu.
mhutch
2010-10-16 20:58:57
Thank you so much! It finally works!
gentuba
2010-10-17 17:49:03
A:
I'm having the same problem...
I'm running Monodevelop 2.4 on Ubuntu.
Strange that it hasnt updated to version 2.4.1 cuz im using the badgerports repository.
I would like to upgrade to Monodevelop 2.4.1 as well as updating my existing Mono 2.6.7 to 2.8
This error still exists even though in Edit >> Preferences >> .Net Runtimes it shows im using Mono 2.6.7
Faizan Kazi
2010-10-20 06:09:14
MonoDevelop 2.4.1 hasn't been released yet, but you don't need 2.4.1 anyway - the bug I mentioned only affects .NET, not Mono. Your problem is that Mono 2.8 hasn't yet been packaged for Debian/Ubuntu.
mhutch
2010-10-20 18:40:22
I had found a shell file written by someone which installed mono 2.8 on my ubuntu by installing the sources and compiling them.
Faizan Kazi
2010-10-25 03:39:54
So, it was kind of cool, but, something happened to my ubuntu install because of that... so i had to reinstall, and wonder if the mono2.8 install might have caused it :s afraid to try it since. But itd be really nice having mono2.8
Faizan Kazi
2010-10-25 03:40:58