[Mono-bugs] [Bug 73333][Wis] New - mcs.exe throws an exception on compiling

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Mar 2005 06:02:44 -0500 (EST)


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 dezelin@gmail.com.

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

--- shadow/73333	2005-03-04 06:02:44.000000000 -0500
+++ shadow/73333.tmp.8191	2005-03-04 06:02:44.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 73333
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Fedora Core 3; Mono-latest built from the source
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dezelin@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs.exe throws an exception on compiling
+
+Description of Problem:
+
+c# compiler throws an exception on compiling:
+
+Unhandled Exception: System.ArgumentException: Module file name
+'(LIB0_TARGET)' must have file extension.
+in <0x0016c> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
+(System.String name, System.String fileName, Boolean emitSymbolInfo,
+Boolean transient)
+in <0x0001a> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
+(System.String name, System.String fileName, Boolean emitSymbolInfo)
+in <0x00278> Mono.CSharp.CodeGen:Init (System.String name, System.String
+output, Boolean want_debugging_support)
+in <0x00772> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)
+make: *** ["./lib/PassiveTypes.dll"] Error 1
+
+
+
+Steps to reproduce the problem:
+1. Try to compile the source provided in attachments.
+2. Command line (very important):
+
+/usr/local/bin/mcs -g -d:DEBUG -checked+ -warn:0 -L ./lib -t:library
+-out:"./lib/(LIB0_TARGET)" -L ./references
+-r:System,System.Data,System.Drawing,System.Windows.Forms,ICSharpCode.SharpZipLib
+@sources
+
+sources is the response file, it is also provided in the attachment. 
+
+Actual Results:
+Exception is thrown
+
+Expected Results:
+Error report
+
+How often does this happen? 
+Always
+
+Additional Information: