https://bugzilla.novell.com/show_bug.cgi?id=439943
Summary: Reading StringCollection from user.config returns null
Product: Mono: Runtime
Version: 2.0
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Critical
Priority: P5 - None
Component: misc
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Development
Reading StringCollection from user.config returns null.
File user.config is created by save() method from new class derived from
System.Configuration.ApplicationSettingsBase class.
After my application saves settings, the user.config is OK (all parameters are
serialized to xml).
When my application reads settings the
System.Collections.Specialized.StringCollection parameters are always null (or
if were default values of parameters are returning StringCollections only with
this default values).
for example one of my System.Collections.Specialized.StringCollection
parameters (MruList) from my local user.config file:
<setting name="MruList" serializeAs="Xml">
<value>
<value>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<string>test1.txt</string>
<string>test2.txt</string>
<string>test3.txt</string>
</ArrayOfString>
</value>
</value>
</setting>
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs