DontKnow
DontKnow

Reputation: 64

Problem instaling Newtonsoft.Json library in VS2019

I would like to use a Newtonsoft.Json library in VS2019. I am trying to install it with nuget. When I select the library in nuget, click to install it on my current project, I get a really strange error:

Error       Failed to fetch results from V2 feed at 'https://github.com/XiaoFaye/WooCommerce.NET/FindPackagesById()?id='Newtonsoft.Json'&semVerLevel=2.0.0' with following message : Response status code does not indicate success: 404 (Not Found).

Why is it trying to install it from "https://github.com/XiaoFaye/WooCommerce.NET"?

I have tried installing it in a new project, I have deleted and reinstall visual studio.

On another computer, the installation work just fine...

Thanks!

Upvotes: 0

Views: 1102

Answers (1)

Nandan Sony
Nandan Sony

Reputation: 53

You can install it directly from VS. Right click on your project name and choose Manage NuGet Packages option. Go to Browse tab and search Newtonwnsoft.json. click to install. Hope it will help you.

Upvotes: 1

Related Questions