Skip to main content
gamedev.net
🔒 Locked

Xml Serialization

Started by Thekill473 2 replies 1.5k views
Original Post
Thekill473
Thekill473
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.
Thekill473
Thekill473
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.
Thekill473
Thekill473
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.