I’m using Studio 2018.4.4 and have a project with a dependency on UiPath.UIAutomation.Activities 19.5.0. I want to include a reference to the latest Json Net package (12.0.2 currently) but it’s causing issues due to version conflicts.
Trying to utilize it to configure some things produces an error:
error BC30560: ‘JObject’ is ambiguous in the namespace ‘Newtonsoft.Json.Linq’. At line 1
And the line of code:
Dim config As JObject = JObject.Parse(File.ReadAllText(configPath))
The activities lib depends on v11.0.2 so it appears it’s not using my v12.0.2. This should work, but it looks like Studio is including all versions of all dependencies on execution. If I downgrade my Json Net version to 11.0.2, it will then work, but I don’t want to have to do that.
What are my options here?