Win Phone 7 – datacontractserializer

I’m in the middle of writing a Windows Phone 7 application.  In the JSON call and collection I’m using.  I wanted to use a datacontract.  For a bit I could not get my class to recognize [DataContract] and [DataMember] .  I even had a direct reference in the class : using System.Runtime.Serialization;

I’m not sure of the reason but after troubleshooting it for a  bit I ended adding a project reference to System.Runtime.Serialization.    It is interesting that a direct reference did not take inside the class.

I’m not sure if it’s related, but I’ve noticed that in writing for windows phone 7 there are some areas that seem to be difficult to get past these small items



Leave a Comment