[Mono-bugs] [Bug 48629][Blo] New - Windows Install - cannot compile .cs files

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 19 Sep 2003 11:34:04 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jlogelin@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=48629

--- shadow/48629	2003-09-19 11:34:04.000000000 -0400
+++ shadow/48629.tmp.3619	2003-09-19 11:34:04.000000000 -0400
@@ -0,0 +1,72 @@
+Bug#: 48629
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 2000 SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jlogelin@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Windows Install - cannot compile .cs files
+
+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.