Skip to main content


Newtonsoft.Json version error after upgrading to OutSystems 10



Newtonsoft.Json version error after upgrading to OutSystems 10


After upgrading to OutSystems 10, when you try to deploy one of your modules or applications you get a compilation error with a message similar to:

Internal Error: Compilation Error

bin\OutSystems.RESTService.Runtime.dll: error CS1705: Assembly 'OutSystems.RESTService.Runtime, Version=, Culture=neutral, PublicKeyToken=null' uses 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
bin\Newtonsoft.Json.dll: (Location of symbol related to previous error)


This is a side effect caused by a breaking change (#11) introduced on OutSystems 10, where we've changed the Newtonsoft.Json library from to

If you followed all the the OutSystems 10 installation checklist (.NET / Java) instructions, selecting the upgrade use case, you should not experience the issue mentioned above. One of the mandatory steps includes a full factory republish. This will refresh all references between producers and consumers, thus removing any references to the previous Newtonsoft.Json library and resolving the conflict.


Perform a full factory republish.