[MonoDevelop] monodevelop against mono 2.6

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Dec 4 17:03:43 EST 2009


On Fri, Dec 4, 2009 at 4:54 PM, ptr2009 <ptrajkumar at gmail.com> wrote:
>
> hey all
>
>  I am trying to test some functionality that was added to
> System.ServiceModel.dll in mono 2.6.  I am running Ubuntu 9.10
>
> Is it possible to use mono 2.0 against mono 2.6 latest svn .
>
> I have successfully compiled mono / mcs / libgdiplus from the latest svn
> trunk and installed them in /home/monobin.
>
> When I start monodevelop from a shell that has /home/monobin/bin in its path
> , monodevelop fails with an error  saying Mono.Addins assembly could not be
> found.
>
>  monodevelop website says specifically to use against a stable mono release.
>
> Is it possible to compile the latest monodevelop svn against mono 2.6. ?

Yes, it is, but you need all the supporting libraries that MD needs
installed into your parallel Mono. Assuming you are using a properly
separated parallel Mono, you can set MONO_GAC_PREFIX in the parallel
environment to make it fall back to another Mono's GAC:
http://www.mono-project.com/Parallel_Mono_Environments#Tip:_MONO_GAC_PREFIX

The reason you can build is that pkg-config (which is used to find
libraries at compile-time) has fallbacks hardcoded:
http://www.mono-project.com/Parallel_Mono_Environments#BEWARE:_pkgconfig_fallback_behaviour

Note also that MD 2.2 can target parallel Monos without having to run
on them. Add your parallel Mono using Edit->Preferences>.NET runtimes,
then switch the target runtime using Project->Target runtime.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list