Unable to reference Newtonsoft.Json version 9.0.0.0
- Dominant language
- C#
- Stars
- 231
- Forks
- 666
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
In my application, I am trying to read a file from data lake store.
I read a file using
```
DataLakeStoreFileSystemManagementClient _adlsFileSystemClient;
Stream str = _adlsFileSystemClient.FileSystem.Open("adl1", "//TestETL//TestData.tsv");
```
I observed that, for `DataLakeStoreFileSystemManagementClient ` to read a file, it requires Newtonsoft.Json version 6.0.0.0.
Where as to login to Azure `UserTokenProvider.LoginSilentAsync` depends on Newtonsoft.Json version 9.0.0.0 or greater.
In my application, I am using Newtonsoft.Json version 9.0.0.0.
When I create an assembly of my application and try to use it in USQL job, the job fails with error

This shows that USQL needs Newtonsoft.Json version 6.0.0.0 to read a file from DLS whereas Microsoft.Rest.Azure.Authentication depends on Newtonsoft.Json version 9.0.0.0 or greater.
If I use Newtonsoft.Json version 6.0.0.0 then my authentication fails.
I am stuck in this.
Any solution / work around appreciated.
Thanks,
Lokesh.
Contributor guide
Assessment
This issue has not been assessed yet.