[MonoDevelop] Running MonoDevelop with gmcs

Kamil Skalski kamil.skalski at gmail.com
Thu Oct 13 11:19:42 EDT 2005


With current svn version of monodevelop the following patch is needed
to compile and run using mono 2.0 profile
http://nemerle.org/~nazgul/temp/monodevelop.diff

Moreover it is necessary to use only 2.0 assemblies when compiling
monodevelop (monodoc, gtk-sharp, etc.), but preparation of such a
environment is a lot of work, so also commenting the lines from:

Index: Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AssemblyLoader.cs
===================================================================
--- Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AssemblyLoader.cs
(wersja 51658)
+++ Core/src/MonoDevelop.Core/MonoDevelop.Core.AddIns/AssemblyLoader.cs
(kopia robocza)
@@ -83,8 +83,8 @@
                        string loadedVersion = (string) assemblies [name];

                        if (loadedVersion != null) {
-                               if (loadedVersion != aname)
-                                       throw new
InvalidAssemblyVersionException (loadedVersion, aname);
+                          //                           if
(loadedVersion != aname)
+                          //                                   throw
new InvalidAssemblyVersionException (loadedVersion, aname);
                                return;
                        }

is needed.

With those changes everything seems to work (but starting monodevelop
is extemely slow, I don't know why).

Some notes:
- I made only the very basic change to reflection parser to make it
actually not crash. It doesn't show generic API very nice, but it
does:
http://nemerle.org/~nazgul/temp/generics.jpg

- of course we need to make this change configurable and add NET_2_0
preprocessor directives for neccessary places in parser, I will do
this when I have some time (any hints how to do this in Makefile.am?).

2005/9/13, Jose Ramon Palanco <jpalanco at gmail.com>:
> Probably you need to hack CSharpBindingCompilerManager.cs in
> Core/src/AddIns/BackendBindings/CSharpBinding
>
> (please, if you patch it for gmcs let me know)
>
> --
> http://people.hazent.com/~jrp - Jose Ramon Palanco
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


--
Kamil Skalski
http://nazgul.omega.pl


More information about the Monodevelop-list mailing list