REST Compilation error after upgrading to OS10 - CS1705

REST Compilation error after upgrading to OS10 - CS1705

  

After an AWS platform upgrade from OS9.1 to OS10.0, one of the modules that have a REST consumer is causing the module to not publish.

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=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' bin\Newtonsoft.Json.dll: (Location of symbol related to previous error)

This is the error that is thrown after the entire REST consumer has been deleted from the module.

The entire system components stack has been republished but the error persists.

Has anyone else experienced this issue?


Ouen


Solution

Hi Ouen, 

Seems that you have an older version of Newtonsoft.Json.

Have you re-published your factory?

Cheers.

Solution

The problem was resolved by creating a solution containing all the modules (including System Components and other system modules) and then published.

The problem was only occurring in a single module which does make a total re-publish a rather drastic solution.

Ouen, 

Glad that helped :)

Best regards.