[Mono-bugs] [Bug 81020][Nor] Changed - [2.0] ConfigurationSettings.GetConfig does not support 2.0 config file

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 3 11:03:18 EST 2007

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 gert.driesen at pandora.be.


--- shadow/81020	2007-03-03 10:43:24.000000000 -0500
+++ shadow/81020.tmp.9674	2007-03-03 11:03:18.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -20,6 +20,17 @@
 configuration section from an XML configuration file in 
 the "http://schemas.microsoft.com/.NetConfiguration/v2.0" namespace.
 I propose to modify ConfigurationSettings.GetConfig to return 
 ConfigurationManager.GetSection, and ifdef out the obsolete config code 
 from the 2.0 profile.
+------- Additional Comments From gert.driesen at pandora.be  2007-03-03 11:03 -------
+I've committed a fix for this issue (revision 73657). We now use 
+ConfigurationManager.GetSection from the 
+ConfigurationSettings.GetConfig method.
+Would it be ok to ifdef out all 1.0 only code and classes, eg. 
+DefaultConfig, ConfigurationData, or refactor the 
+ConfigurationSettings class, or do these classes need to be available 
+for building the 2.0 System assembly without the System.Configuration 
+dependency ?

More information about the mono-bugs mailing list