[Mono-bugs] [Bug 77704][Nor] Changed - Error that appears only when using classes with 1 letter name

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 25 06:21:12 EST 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 cornel.mihaila at gmail.com.


--- shadow/77704	2006-03-25 06:20:29.000000000 -0500
+++ shadow/77704.tmp.10414	2006-03-25 06:21:12.000000000 -0500
@@ -62,6 +62,24 @@
 ------- Additional Comments From cornel.mihaila at gmail.com  2006-03-25 06:20 -------
 Created an attachment (id=16671)
 Zip archive containing the code to show the presense of the bug (v2)
+------- Additional Comments From cornel.mihaila at gmail.com  2006-03-25 06:21 -------
+I tested this in windows. And now, testing it again, it seems that
+SOMETIMES visual studio gives an error ("Error	1	The namespace
+'<global namespace>' already contains a definition for 'A'") when I
+build/validate the website) because I used the same class name (A) in
+two files (bad.aspx.cs and good1.aspx.cs). 
+I've changed the name of the A class in good1.aspx.cs and good1.aspx
+(now is B; see attached file).
+In this conditions, it should not give any error under Ms (tested with
+Ms WebDev Server, .Net-2.0.50727).
+So bad.aspx works on Ms but does not work on Mono. good1.aspx and
+good2.aspx work on both.
+Sorry about the mislead and please test this again.

More information about the mono-bugs mailing list