[Mono-bugs] [Bug 51265][Wis] New - MCS Build fails with PROFILE=net_1_0

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 21 Nov 2003 11:14:14 -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 rkumar@novell.com.


--- shadow/51265	2003-11-21 11:14:14.000000000 -0500
+++ shadow/51265.tmp.28337	2003-11-21 11:14:14.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 51265
+Product: Mono/Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Severity: Unknown
+Priority: Wishlist
+Component: System.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rkumar@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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
+Actual Results:
+Build fails.
+Expected Results:
+Build should not fail.
+How often does this happen? 
+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,