SpeckleCore throws error in Sandbox
Closed this issue · 2 comments
mishaelnuh commented
Step 0:
- I've read the contribution guidelines!
Expected Behaviour
SpeckleCore should be able to use serialize and serialize JSON,
Actual Behaviour
Dynamo sandbox loads Newtonsoft.Json version 8.0.0.0 which does not have the NamingStrategy property for DefaultContractResolver, causing an error.
Problematic line:
ContractResolver = new Newtonsoft.Json.Serialization.DefaultContractResolver() { NamingStrategy = new Newtonsoft.Json.Serialization.CamelCaseNamingStrategy() }
Affected Projects
SpeckleDynamo
Proposed Solution (if any)
teocomi commented
Thanks Mish, we’re aware of this and have a fix in mind! Will try implement next week.
For the time being Dynamo Revit should be loading the correct version.