Category Archives: Serialization

Quick Hint for Troubleshooting XML Serialization Issues

 In the thread "pregenerated xmlserializers.dll is not beeing used", Nathan Anderson of Microsoft made the following suggestion: to be really sure you can save any generated .cs files with this in your app.config: <system.diagnostics>      <switches>         <add name="XmlSerialization.Compilation" value="1" />      </switches></system.diagnostics> … Continue reading

Posted in Serialization | Leave a comment

One Way to Serialize Dictionaries

If you try to use XML Serialization on anything that implements IDictionary, and you’ll get an exception telling you it can’t be serialized. This question comes up, time and time again. This post will present one way to do it, … Continue reading

Posted in Serialization | 7 Comments