-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to reference Newtonsoft.Json version 9.0.0.0 #88
Comments
The same problem happens with the included DataFormats example found here: https://github.com/Azure/usql/tree/master/Examples/DataFormats The project references Newtonsoft.Json 8.0.0.0, but Microsoft.Hadoop.Avro which is included references Newtonsoft.Json 6.0.0.0 so when I try to run it I get the same error as Lokesh. This is what AsmSpy shows:
|
You need to downgrade to JSON 6.0, if you have nuget, change the version to older one, 2015-ish... |
Yes, I should have mentioned that is exactly the workaround I used.
|
I had to downgrade the Newtonsoft.Json package to 6.0.7, because 6.0.8 was not making the assembly to recognize the 6.0.0.0.0 version 👎 |
Hi,
In my application, I am trying to read a file from data lake store.
I read a file using
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.
The text was updated successfully, but these errors were encountered: