[Mono-bugs] [Bug 70506][Wis] Changed - Exception from mcs when output assembly name has no extension

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 7 10:36:45 EDT 2006


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 martin at ximian.com.

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

--- shadow/70506	2006-09-07 10:09:37.000000000 -0400
+++ shadow/70506.tmp.10090	2006-09-07 10:36:45.000000000 -0400
@@ -65,6 +65,18 @@
 ------- Additional Comments From rharinath at novell.com  2006-09-07 10:09 -------
 Martin reverted r62663 because the fix is bogus (try compiling a file
 named a.2.cs for example).
 
 I think the fix is to either remove the exception from SRE or handle
 it with a workaround inside the compiler.
+
+------- Additional Comments From martin at ximian.com  2006-09-07 10:36 -------
+To summarize:
+
+When we compute the output file name based on the input file, we must
+always append the .exe extension.  Otherwise, we'd break screnarios
+where the input file is called A.2.cs, A.foo.bar.cs etc.
+
+The question is what to do if the user specified the output filename -
+csc always uses the unmodified filename as it was specified by the user.
+
+The problem is that SRE doesn't allow this.


More information about the mono-bugs mailing list