Reputation: 51
I'm trying to use the xml serializer in my xna game for wp7. The XmlSerializer class will not work in my game. The compiler doesn't recognize the class. And yes I have added:
using System.Xml.Serialization;
using System.Xml.Linq;
using System.Xml;
Why wont it recognize the class?
Upvotes: 1
Views: 33
Reputation: 3683
You need to add a reference to the System.Xml.Serialization.dll
.
It's not in the System.Xml.dll
and it isn't in the default game template.
Upvotes: 1