I pasted the code from http://www.codeproject.com/Tips/789481/Bridging-the-Gap-between-Linqpad-and-Visual-Studio into Visual Studio 15. It tells me that 'Newtonsoft' could not be found. I open the folder "\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies" and found that the file Newtonsolft.Json.dll is already there. Could anyone tell me how to fixed problem?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Go to Tools -> Library Package Manager -> Package Manager Console
and in the console just write
Install-Package Newtonsoft.Json -Version 9.0.1
Solution Explorer->Right Click on Project Name -> Click on Manage Nuget Packages -> Search for newtonsoft -> Click on install button
For me i had package already installed but missing in references and it could not be added. Helped me: in Nuget package manager to downgrade and upgrade newtonsoft.Json
You have to get the correct NuGet package. From your link:
You can open the NuGet package manager in:
Tools -> Nuget Packet Manager -> Manage Nuget Packages for Solution..