H
Hans
Hello,
[This was posted a while ago by someone else but without responses. Now I
ran into the same problem.
Here we go again:]
I was trying to use the built in settings management and added a User-scoped
setting of type
System.Collections.Specialized.StringDictionary
I run my application, updated the Settings, did Settings.Default.Save()
and when started the app again I noticed the new settings did not work!
Looking in the created user.config, the StringDictionary was serialized
to the immensely useful <value />
I assume this has to do with the fact that IDictionary is not
XmlSerializable, but why does it *fail silently*? Or is there something
I'm missing here?
Best regards
[This was posted a while ago by someone else but without responses. Now I
ran into the same problem.
Here we go again:]
I was trying to use the built in settings management and added a User-scoped
setting of type
System.Collections.Specialized.StringDictionary
I run my application, updated the Settings, did Settings.Default.Save()
and when started the app again I noticed the new settings did not work!
Looking in the created user.config, the StringDictionary was serialized
to the immensely useful <value />
I assume this has to do with the fact that IDictionary is not
XmlSerializable, but why does it *fail silently*? Or is there something
I'm missing here?
Best regards