Reputation: 82483
I am trying to build the Json.NET 2.0 library to target the .NET framework version 2.0, and I am getting this error several times. I went to add a reference to System.Linq to the project, but it does not exist in the references list! What should I do?
Upvotes: 3
Views: 891
Reputation: 56391
Json.NET 2.0 does not support .NET 2.0. If you want .NET 2.0 support, use Json.NET 1.3.1.
Upvotes: 7
Reputation: 17804
System.Linq is a version 3.5 DLL; you'll need to remove references to it to compile in 2.0.
Upvotes: 5