I have encountered this error while trying to publish my app.
Compilation Error.
bin\OutSystems.NssardoJSON.dll: error CS1705: Assembly 'OutSystems.NssardoJSON, Version=11.14.0.33133, Culture=neutral, PublicKeyToken=null' uses 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
bin\Newtonsoft.Json.dll: (Location of symbol related to previous error)
Is it because there is another component that is using a newer version of Newtonsoft.json? If there is the case, is there anyway that I can go about solving this?
Hi,
This is (sadly) a bit of a known issue with newtonsoft dll, mainly because outsystems uses newtonsoft itself.
please search the forums for possible workarounds, like https://www.outsystems.com/forums/discussion/48340/net-compilation-error/
Hi @Jeremy Kuang,
I've released version 1.10.7 "under development" with a potential fix for the compilation error you are experiencing.
Could you give it a try and let me know if that solved your problem? Regards,
Thank you for the response! I have tried removed the old version and installed 1.10.7 but the same error still occurs during publishing.
Has it got to do with any local files that I have? I tried to "meddle" with the component files by changing reference path of Newtonsoft.json.dll from some of the suggestions in the forums.
Do let me know if there is anything I can do to assist in resolving this.
Thanks!
Just want to share I'm getting the same problem.