views:

197

answers:

2

Hi, I've added the reference to System.Runtime.Serialization dll to my project but still can't find the System.Runtime.Serialization.Json namespace and hence can't find the DataContractJsonSerializer class. What am I missing here?

A: 

Are you running .NET 2.0 ? Its first supported in 3.5 and 4.0 check here.

ntziolis
+2  A: 

Try in System.ServiceModel.Web.dll

Marc Gravell
Thanks man. But I thought it was in System.Runtime.Serialization!
Kayes