Community

XmlSerializer doesn’t work with Dictionaries. Oh, and it has problems with KeyValuePairs too.

(OriginalGriff) XmlSerializer complains if you try to serialize anything which implements IDictionary. This provides a way of serialising them which (if not capable of restoring the exact dictionary content) restores the actual field contents in a new dictionary.

Read More - Register for Free Membership