[Mono-bugs] [Bug 51265][Wis] New - MCS Build fails with PROFILE=net_1_0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 1 Apr 2004 18:32:57 -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 lluis@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=51265
--- shadow/51265 2004-04-01 18:32:57.000000000 -0500
+++ shadow/51265.tmp.2265 2004-04-01 18:32:57.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 51265
+Product: Mono: Class Libraries
+Version: unspecified
+OS: unknown
+OS Details:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
+Priority: Wishlist
+Component: Sys.Drawing.
+AssignedTo: rkumar@novell.com
+ReportedBy: rkumar@novell.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: MCS Build fails with PROFILE=net_1_0
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+MCS build fails with "make PROFILE=net_1_0" command.
+
+Steps to reproduce the problem:
+1. Make mcs with "make PROFILE=net_1_0" command
+2.
+3.
+
+Actual Results:
+Build fails.
+
+Expected Results:
+Build should not fail.
+
+How often does this happen?
+Always
+
+Additional Information:
+There is an #if NET_1_1 tag in System::Environment.cs for values "Desktop
+and MyComputer" in enum SpecialFolder, whereas
+System.Windows.Forms::FolderBrowserDialog.cs uses the enum "Desktop" value
+without checking for the same tag.
+
+I am not sure what specs say about it but taking Desktop enum value
+(Environment.cs) out of #if tag as follows makes the build successful:
+
+ Desktop = 0x00,
+#if NET_1_1
+ MyComputer = 0x11,
+#endif
+
+------- Additional Comments From miguel@ximian.com 2003-11-28 10:49 -------
+We are unlikely to support Windows.Forms on the 1.0 profile, so maybe
+we should ignore this error, or not build WIndows.forms in this profile.
+
+------- Additional Comments From lluis@ximian.com 2004-04-01 18:32 -------
+Fixed in CVS.