Hi There, I am trying to run the sample from Interactive SDK and getting this issue, when I build the solution, below is the error that I am getting. I have proper references in place but not sure what I am missing here.
using System.Runtime.Serialization; using System.Runtime.Serialization.Json;
I would really appreciate any feedback.
Thanks Jay
Error 1 The type or namespace name 'DataContractJsonSerializer' does not exist in the namespace 'System.Runtime.Serialization.Json' (are you missing an assembly reference?)
internal static T DeserializeJson<T>(string json) { T objectInstance = Activator.CreateInstance<T>(); System.IO.MemoryStream memoryStream = new System.IO.MemoryStream(System.Text.Encoding.Unicode.GetBytes(json)); System.Runtime.Serialization.Json.DataContractJsonSerializer jsonSerializer = new System.Runtime.Serialization.Json.DataContractJsonSerializer(objectInstance.GetType());