Xml Serialization

Started by
2 comments, last by Thekill473 11 years, 8 months ago
Before i start a big post on my issue, Is there any reason whatsoever that some variables would be excluded from being written in xml serialization in xna.
Advertisement
Yes, temporary runtime data.
because I've got variables that aren't null and all have values right up unto and even after serialization but in the file only some of the variables are written. And i cant find anything the written variables have in common.
OK Ive figured it. Annoyingly it goes through the properties instead of the actual variables so if the property doesn't have a set method it won't right.

This topic is closed to new replies.

Advertisement