Cannot find DataContractJsonSerializer in VS2010
问题 I am working on a demo Silverlight app and I'd like to do some simple JSON. I found the System.Runtime.Serialization.Json.DataContractJsonSerializer class on MSDN, but I can't seem to reference it successfully in Visual Studio 2010. I have added a reference to System.Runtime.Serialization , but I still get a compile error if I have a DataContractJsonSerializer (even with a fully qualified class name. My project is configured to Silverlight 4. The assembly does have a 2.0 version number when I