You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error CS0012: The type 'JsonSerializerSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json'
#16
Open
abuffie opened this issue
Mar 10, 2022
· 1 comment
I tried to just use the .dll's in a example project and I get this error when trying to do a simple test retrieving the last block with new EthBlockNumberUnityRequest.
error CS0012: The type 'JsonSerializerSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json
In the sample project I see you have the package "Newtonsoft Json" but this is not a standard package and it does not show in the manifest so I was not sure how it was imported or from where, also the version included is nuget.newtonsoft-json 2.0.0 which the unity docs state "This is a package intended for internal Unity Development Projects and as such this package is not supported. Use at your own risk."
as found here [email protected]
"com.unity.nuget.newtonsoft-json": "3.0.1" looks to be the suggested version but does not seem compatible .
After adding v3 directly to the manifest, the library showed up in the package manger and I was able to down grade to vs 2 and get it working, is there any plan to upgrade the dlls to use v3, thanks.
The text was updated successfully, but these errors were encountered:
I tried to just use the .dll's in a example project and I get this error when trying to do a simple test retrieving the last block with
new EthBlockNumberUnityRequest.
error CS0012: The type 'JsonSerializerSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json
In the sample project I see you have the package "Newtonsoft Json" but this is not a standard package and it does not show in the manifest so I was not sure how it was imported or from where, also the version included is nuget.newtonsoft-json 2.0.0 which the unity docs state "This is a package intended for internal Unity Development Projects and as such this package is not supported. Use at your own risk."
as found here [email protected]
"com.unity.nuget.newtonsoft-json": "3.0.1" looks to be the suggested version but does not seem compatible .
After adding v3 directly to the manifest, the library showed up in the package manger and I was able to down grade to vs 2 and get it working, is there any plan to upgrade the dlls to use v3, thanks.
The text was updated successfully, but these errors were encountered: