Newtonsoft.Json Error when running CI Continuous Integration

Laura Frese asked on July 22, 2022 01:10

I updated Kentico 12 MVC CMS & App Newtonsoft.JSON to version 13. Now when running CI I get the error "Message: Could not load file or assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

All instances in the project were updated.

Correct Answer

Laura Frese answered on July 22, 2022 01:11

You need to update ContinuousIntegration.exe.config in the CMS/bin & the Lib folder to have version 13

1 votesVote for this answer Unmark Correct answer

Recent Answers

Brenden Kehren answered on July 22, 2022 01:23

Yes unfortunately there is still a post bud process that copies the files from the LIB directory. Can't wait until that dependency is gone!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.