You can do this a couple of ways.
Via the "Solution Explorer"
- Simply right-click the "References" folder and select "Manage NuGet Packages..."
- Once that window comes up click on the option labeled "Online" in the left most part of the dialog.
- Then in the search bar in the upper right type "json.net"
- Click "Install" and you're done.
Via the "Package Manager Console"
- Open the console. "View" > "Other Windows" > "Package Manager Console"
- Then type the following:
Install-Package Newtonsoft.Json
For more info on how to use the "Package Manager Console" check out the nuget docs.
Answer from Mateo on Stack OverflowVideos
You can do this a couple of ways.
Via the "Solution Explorer"
- Simply right-click the "References" folder and select "Manage NuGet Packages..."
- Once that window comes up click on the option labeled "Online" in the left most part of the dialog.
- Then in the search bar in the upper right type "json.net"
- Click "Install" and you're done.
Via the "Package Manager Console"
- Open the console. "View" > "Other Windows" > "Package Manager Console"
- Then type the following:
Install-Package Newtonsoft.Json
For more info on how to use the "Package Manager Console" check out the nuget docs.
I have Had the same issue and the only Solution i found was open Package manager> Select Microsoft and .Net as Package Source and You will install it..

You can right click on the project where you want to install newtonsoft nuget package.
You will find an option "Manage NuGet packages".
Then search online for "newtonsoft".
This would add a packages.config file in your project (depending on which framework you are targeting to ).
this new file contains all the nuget dependencies required for this project.
Refer this blog for more details
VS2010 is old and is unable to update to the latest NuGet version. This means that adding recent packages will often fail; however, you can often add an older version of a package that has a compatible NuGet version and it will work. This causes the suggested answer by @ManojChoudhari to fail for me. In the case of Newtonsoft.Json, the following worked using the Package Manager Console:
Install-Package Newtonsoft.Json -Version 9.0.1
I might be just be late to answer, but this is usually caused by the incorrect package source, different packages come from different sources, for example angularJS.core packages comes from nuget.org source so if you search it and you have Microsoft and .NET set as your source, then you wont be able to find it.
To attempt to answer your question, please select the change the source on your your PM console(see attached screenshot)
, you might also want to make sure that you point to the correct project(attached screenshot will also guide you on that regard). Or even better just select "All" on your source and you should be good
What if you try to install it from Package manager UI. Right click in your solution/project and select manage nuget package. In the presented UI search for newtonsoft.json and install accordingly.
Also make sure your project don't already have it installed. In your project find the file name package.config and search for an entry named json.net. If present, delete that line, save the file and then try re-installing again.
Its probably something in your build system: the dll is likely getting cleaned (as in deleted by a rebuild), or is in a directory that isn't under your solution, or simply isn't getting copied to the output directory.
I'm sorry I don't have a more specific piece of advice. What I'm going to do though is suggest you use a shot-gun to kill a mosquito: use NuGet. In C# with Visual Studio (or any other .net IDE), you really want to use the nuget package manager, since it works so well.
- Install the visual studio extension,
- right click on your solution (dont do the project, do the solution)
- select 'Manage Nuget Packages for Solution'
- click 'online', in the search box type 'newtonsoft'
- click 'Install' on 'Json.NET' (probably, what your looking for might be in another package, I'll ask you to track it down).
This will put it in a library directory, include it in the build path, and allow you to use the Intelli sense to auto-add the appropriate reference from your project.
Make sure that the your project target framework is set to the correct version. It might be that your target .NET framework for the project is lower than what the Newtonsoft dll was built under. Right click on your project and see what it's set at. You'll need to go view the properties.