[MonoDevelop] Monodevelop 0.7

Rafael Teixeira monoman at gmail.com
Wed May 18 13:56:01 EDT 2005


I'll be applying this patch: With it MonoDevelop 0.6 is again able to
start, but MonoDevelop 0.7 won't be...

Unaffected binaries: mbas, tools/prj2make and tools/macpack, monocov,
monodocer, monodocs2html

Probably affected gtk-sharp/sample/gnomevfs/TestXfer.exe in newly packaged gtk# 

Index: Mono.GetOptions/Options.cs
===================================================================
--- Mono.GetOptions/Options.cs  (revision 44673)
+++ Mono.GetOptions/Options.cs  (working copy)
@@ -88,7 +88,7 @@
                #region non-option arguments

                private ArrayList arguments = new ArrayList();
-               public string[] RemainingArguments { get { return
(string[])arguments.ToArray(typeof(string)); } }
+               public string[] RemainingArguments;

                [ArgumentProcessor]
                public virtual void DefaultArgumentProcessor(string argument)
@@ -111,6 +111,7 @@
                        optionParser = new OptionList(this);
                        optionParser.AdditionalBannerInfo =
AdditionalBannerInfo;
                        optionParser.ProcessArgs(args);
+                       RemainingArguments =
(string[])arguments.ToArray(typeof(string));
                }

                private static void DefaultErrorReporter (int number,
string message)
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 44673)
+++ ChangeLog   (working copy)
@@ -1,3 +1,6 @@
+2005-05-18  Rafael Teixeira  <rafaelteixeirabr at hotmail.com>
+       * Mono.GetOptions/Options.cs: Reverting ABI change on
RemainingArguments (will break packaged MonoDevelop 0.7)
+
 2005-05-16:3  Rafael Teixeira  <rafaelteixeirabr at hotmail.com>
        * Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix for #74954 part 2
                "Ensure assembly is added to TypeManager if path
separator characters are part of assembly name"



On 5/18/05, Rafael Teixeira <monoman at gmail.com> wrote:
> Sorry for that. I thought it would not break anything, but surely
> althought the source for client code wouldn't need to be changed the
> ABI is different.
> 
> I'll study reverting it. Any particular guidance here?
> 
> On 5/18/05, Lluis Sanchez <lluis at ximian.com> wrote:
> > Looks like the problem is that the MD 0.7 RPMs were built with SVN Mono,
> > which has a API breaking change in Mono.GetOptions. In r44136 (after
> > 1.1.7 release) the RemainingArguments field was converted into a
> > property.
> >
> > On dc, 2005-05-18 at 17:20 +0200, Federico Noferi wrote:
> > > Hi All!
> > >
> > > I tried to install monodevelop 0.7 with mono 1.1.7 on SuSE 9.3 or NLD
> > > but I got the same result:
> > >
> > > after I install all the RPM packages I try to run monodevelop and I
> > > get this error:
> > >
> > > ** (./MonoDevelop.exe:9741): WARNING **: Missing method
> > > get_RemainingArguments in
> > > assembly /usr/lib/monodevelop/bin/MonoDevelop.exe, type Options
> > >
> > > Unhandled Exception: System.NullReferenceException: Object reference
> > > not set to an instance of an object
> > >
> > >
> > > Any idea/suggestion?
> > >
> > > Thank you,
> > > Federico
> > > _______________________________________________
> > > Monodevelop-list mailing list
> > > Monodevelop-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> 
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> I'm trying to become a "Rosh Gadol" before my own eyes.
> See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
> It hurts!
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!


More information about the Monodevelop-list mailing list