Bugzilla – Bug 312832
Windows Install - cannot compile .cs files
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by jlogelin@hotmail.com 2003-09-19 11:34:04 MST ---- Description of Problem: When I try to compile the simple hello.cs(or any source file for that matter) as described in the beginners section of the MONO website, I get an error. Steps to reproduce the problem: 1. Install mono-0.26-win32-2.exe as posted in the downloads section of go- mono.com 2. At the command prompt attempt to compile a .cs file ie. mcs hello.cs 3. The above error message pops up. Actual Results: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Guid ---> System.ArgumentOutOfRang eException: 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.Emit.AssemblyBuilder,string,string,bool,bool,bool) in <0x00159> 00 System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule (string,string,bool,bool) in <0x00021> 00 System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule (string,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[]) Expected Results: Compilation succeeded How often does this happen? every time. Additional Information: mono-0.25-win32-1.exe seems to work just fine. ---- Additional Comments From vargaz@freemail.hu 2003-09-19 14:29:57 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO48376 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>2000 SP2</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"