69
Views
4
Comments
[ardoJSON] Internal Error  Compilation Error. bin\OutSystems.NssardoJSON.dll
Question
ardojson
Service icon
Forge asset by João Barata
Application Type
Service
Service Studio Version
11.14.2 (Build 56067)

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?

2016-04-21 20-09-55
J.
 
MVP

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/


2020-10-08 19-51-35
João Barata
Staff

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,



2022-08-26 05-45-19
Jeremy Kuang

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!

2023-03-30 10-13-40
Miguel Antunes

Just want to share I'm getting the same problem.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.