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=10.0.200.0, Culture=neutral, PublicKeyToken=null' uses 'Newtonsoft.Json, Version=126.96.36.199, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json, Version=188.8.131.52, 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 184.108.40.206 to 220.127.116.11.
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.