Pablo_perico
Pablo_perico

Reputation: 145

Not able to find the reference tab to add Json.NET for C#

I created my first project and I am trying to work with JSON files. I am not able to see the tab of references in my Visual Studio. How can I retrieve the tab? I tried to Google and I cannot see the issue here.

This is my current Project Solution looks

enter image description here

[enter image description here]

[enter image description here]

Upvotes: 0

Views: 398

Answers (2)

pm100
pm100

Reputation: 50180

its here, right click on dependencies

enter image description here

Upvotes: 0

Karen Payne
Karen Payne

Reputation: 5117

Double click the project node in Solution Explorer, add the following, press ctrl + S. After a few seconds the package is downloaded and installed.

<ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

You should also read up on using NuGet package manager in Visual Studio.

Upvotes: 1

Related Questions