[Mono-devel-list] mcs 0.26 fails on Windows
Paul Paximadis
ppaximadis at websoft.co.za
Mon Sep 15 05:44:49 EDT 2003
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[])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030915/ef4864dd/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Hello.cs
Type: application/octet-stream
Size: 147 bytes
Desc: Hello.cs
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030915/ef4864dd/attachment.obj
More information about the Mono-devel-list
mailing list