[Mono-list] RE: [Mono-devel-list] mcs 0.26 fails on Windows
Daniel Morgan
danielmorgan@verizon.net
Mon, 15 Sep 2003 18:25:16 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0006_01C37BB6.B5E58C90
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
MessageI have to agree with Paul, I get the same problem when trying to run
mcs on a Windows 2000 Professional machine.
-----Original Message-----
From: mono-devel-list-admin@lists.ximian.com
[mailto:mono-devel-list-admin@lists.ximian.com]On Behalf Of Paul Paximadis
Sent: Monday, September 15, 2003 5:45 AM
To: mono-devel-list@lists.ximian.com; mono-list@ximian.com
Subject: [Mono-devel-list] mcs 0.26 fails on Windows
Hi,
I installed mono-0.26-win32-2.exe on a Windows 2000 Professional machine.
When I try and compile a simple "Hello World" app. I get the errors below:
This works fine with 'mono-0.25-win32-1.exe'.
I have also compiled a simple gtk-sharp program ( compiles fine with
0.25 ) but when I try and execute with 'mono Hello.exe' windows generates a
unhadled exception etc.., yet I can run the program fine with Microst.
Any ideas.
Any help would be appreciated.
Thanks,
Paul
C:\C#Samples>mcs Hello.cs
Unhandled Exception: System.TypeInitializationException: An exception was
thrown
by the type initializer for System.Guid --->
System.ArgumentOutOfRangeException
: Argument is out of range
in <0x001e3> 00 System.DateTime:.ctor (bool,long)
in <0x00015> 00 System.DateTime:.ctor (long)
in <0x001be> 00 System.CurrentTimeZone:GetDaylightChanges (int)
in <0x00046> 00 System.TimeZone:IsDaylightSavingTime (System.DateTime)
in <0x0001e> 00 System.CurrentTimeZone:GetUtcOffset (System.DateTime)
in <0x00078> 00 System.DateTime:.ctor (bool,long)
in <0x0003b> 00 System.DateTime:get_Now ()
in <0x0004e> 00 .GuidState:.ctor (bool)
in <0x00026> 00 System.Guid:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) 00 System.Guid:NewGuid ()
in <0x00093> 00 System.Reflection.Emit.ModuleBuilder:.ctor
(System.Reflection.Em
it.AssemblyBuilder,string,string,bool,bool,bool)
in <0x00159> 00 System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
(stri
ng,string,bool,bool)
in <0x00021> 00 System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
(stri
ng,string,bool)
in <0x000d0> 00 Mono.CSharp.CodeGen:Init (string,string,bool)
in <0x006be> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0001b> 00 Mono.CSharp.Driver:Main (string[])
------=_NextPart_000_0006_01C37BB6.B5E58C90
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D452372322-15092003><FONT face=3DArial color=3D#0000ff =
size=3D2>I have=20
to agree with Paul, I get the same problem when trying to run mcs on a =
Windows=20
2000 Professional machine.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B>=20
mono-devel-list-admin@lists.ximian.com=20
[mailto:mono-devel-list-admin@lists.ximian.com]<B>On Behalf Of =
</B>Paul=20
Paximadis<BR><B>Sent:</B> Monday, September 15, 2003 5:45 =
AM<BR><B>To:</B>=20
mono-devel-list@lists.ximian.com; =
mono-list@ximian.com<BR><B>Subject:</B>=20
[Mono-devel-list] mcs 0.26 fails on Windows<BR><BR></FONT></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial size=3D2>I =
installed=20
mono-0.26-win32-2.exe on a Windows 2000 Professional=20
machine.</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial size=3D2>When =
I try and=20
compile a simple "Hello World" app. I get the errors=20
below:</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial size=3D2>This =
works fine=20
with 'mono-0.25-win32-1.exe'.</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial size=3D2>I =
have also=20
compiled a simple gtk-sharp program ( compiles fine with 0.25 ) but =
when I try=20
and execute with 'mono Hello.exe' windows generates a unhadled =
exception=20
etc.., yet I can run the program fine with =
Microst.</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial size=3D2>Any=20
ideas.</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial size=3D2>Any =
help would be=20
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2>Paul</FONT></SPAN></DIV>
<DIV><SPAN class=3D182314009-15092003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV><SPAN =
class=3D182314009-15092003><FONT=20
face=3DArial size=3D2>
<DIV><BR>C:\C#Samples>mcs Hello.cs</DIV>
<DIV> </DIV>
<DIV>Unhandled Exception: System.TypeInitializationException: An =
exception was=20
thrown<BR> by the type initializer for System.Guid --->=20
System.ArgumentOutOfRangeException<BR>: Argument is out of range<BR>in =
<0x001e3> 00 System.DateTime:.ctor (bool,long)<BR>in =
<0x00015> 00=20
System.DateTime:.ctor (long)<BR>in <0x001be> 00=20
System.CurrentTimeZone:GetDaylightChanges (int)<BR>in <0x00046> =
00=20
System.TimeZone:IsDaylightSavingTime (System.DateTime)<BR>in =
<0x0001e>=20
00 System.CurrentTimeZone:GetUtcOffset (System.DateTime)<BR>in =
<0x00078>=20
00 System.DateTime:.ctor (bool,long)<BR>in <0x0003b> 00=20
System.DateTime:get_Now ()<BR>in <0x0004e> 00 .GuidState:.ctor=20
(bool)<BR>in <0x00026> 00 System.Guid:.cctor ()<BR>--- End of =
inner=20
exception stack trace ---</DIV>
<DIV> </DIV>
<DIV>in (unmanaged) 00 System.Guid:NewGuid ()<BR>in <0x00093> 00 =
System.Reflection.Emit.ModuleBuilder:.ctor=20
=
(System.Reflection.Em<BR>it.AssemblyBuilder,string,string,bool,bool,bool)=
<BR>in=20
<0x00159> 00 =
System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule=20
(stri<BR>ng,string,bool,bool)<BR>in <0x00021> 00=20
System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule=20
(stri<BR>ng,string,bool)<BR>in <0x000d0> 00 =
Mono.CSharp.CodeGen:Init=20
(string,string,bool)<BR>in <0x006be> 00 =
Mono.CSharp.Driver:MainDriver=20
(string[])<BR>in <0x0001b> 00 Mono.CSharp.Driver:Main=20
(string[])</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0006_01C37BB6.B5E58C90--