[Mono-list] Beta 1, mcs error under Windows

Daniel Morgan danielmorgan@verizon.net
Fri, 7 May 2004 20:19:14 -0400


Since you have Mono working under Windows, can you or someone re-package the
Windows installer for beta 1 please?

Thanks,
Daniel

----- Original Message ----- 
From: "Gonzalo Paniagua Javier" <gonzalo@ximian.com>
To: <mono-list@lists.ximian.com>
Sent: Friday, May 07, 2004 1:54 PM
Subject: Re: [Mono-list] Beta 1, mcs error under Windows


> El vie, 07-05-2004 a las 02:23, Brian Jepson escribió:
> > Hi,
> >
> > I tried running the beta under Windows, but mcs throws an exception and
> > then hangs:
> >
> > C:\Documents and Settings\bjepson>mcs foo.cs
> >
> >   ** (C:\Program Files\Mono-Beta1\lib\mono\1.0\mcs.exe:1968): WARNING
> >   **: Could not find assembly System, references from C:\Program
> >   Files\Mono-Beta1\lib\mono\1.0\mcs.exe (assemblyref_index=1)
> >      Major/Minor: 1,0
> >      Build:       5000,0
> >      Token:       b77a5c561934e089
> >
> >
> >   Unhandled Exception: System.NullReferenceException: Object reference
not
> >   set to an instance of an object
>
> Hi Brian,
>
> I didn't use the windows installer, but CVS.
>
> I only needed to set the PATH like:
> C:\> set PATH=c:\cygwin\home\myuser\go-mono\install\bin;%PATH%
>
> And then my mcs.bat file is just (in install\bin):
> @cd c:\cygwin\home\myuser\go-mono\install\bin
> @set MONOARGS=
> @:loop
> @if x%1 == x goto :done
> @set MONOARGS=%MONOARGS% %1
> @shift
> @:done
> @mono ..\lib\mono\1.0\mcs.exe %MONOARGS%
>
> No need to set any extra environment variable.
>
> -Gonzalo
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>