Sign in to follow this  
Thekill473

Xml Serialization

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this