The type or namespace "Linq" does not exist in the namespace "System",

I am trying to create a Json.NET 2.0 library to install on the .NET framework version 2.0, and I get this error several times. I went to add a link to System.Linq in the project, but it does not exist in the list of links! What should I do?

+3
source share
2 answers

Json.NET 2.0 does not support .NET 2.0. If you need .NET 2.0 support, use Json.NET 1.3.1 .

+7
source

System.Linq is version 3.5 of the DLL; you will need to remove links to it to compile in version 2.0.

+5
source

Source: https://habr.com/ru/post/1703052/


All Articles