108
Views
3
Comments
Solved
REST Compilation error after upgrading to OS10 - CS1705
Question

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


2025-08-08 18-54-29
Nuno Maurício
Staff
Solution

Hi Ouen, 

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

Have you re-published your factory?

Cheers.

2023-04-26 06-12-36
Ouen Worth

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.

2025-08-08 18-54-29
Nuno Maurício
Staff

Ouen, 

Glad that helped :)

Best regards.

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