Hi,
I can see it is possible to parse JSON file with a QAction, something I need to do to interprete some HTTP request. So, in all example I saw on the Dojo, in QAction we have to add the Json library, for instance like that:
using Newtonsoft.Json;
But if I do on my system in DIS, I got an error saying it couldn't find that library name. So, Isn't part of the standard library in C#?
Hi Dominique,
You need to add a Newtonsoft nuget package to your QAction project.
Hi Dominique
Visual Studio 2019 is still fine. Could you have a look at which package sources are enabled? Probably the default one for nuget.org is not there: https://community.dataminer.services/question/nuget-package-references-not-installed/
Hi Jorge,
Ihave tried to search for the Newtonsoft.Json packet but the nuget package manager list is empty and it is not finding the packet.
For info, I use DIS2019 and I tried to download with donet:
dotnet add package Newtonsoft.Json –version 13.0.3
But is not working because our donet version is 2.1.5 and that method only works with donet version higher than 2.12. But, if I want to upgrade donet to the latest version, it is said it will only work with DIS 2022 …