At the end of 2022, your workaround only works - add the old version of Newtonsoft.Json to GAC:
NuGet\Install-Package Newtonsoft.Json -Version 12.0.3
gacutil /i packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll
:(
Can't build BizTalk Server Application Project after upgrading to BizTalk Server 2020 CU4
Hi,
After upgrading BizTalk 2020 from CU3 to CU4 we can no longer build BizTalk Server Application Projects. This is because of Newtonsoft.Json being lifted from 12.0.0.0 to 13.0.0.0. Apparently BSAP want version 12 installed.
Error MSB4018 The "UpdateVersionTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
We have made a work around by adding the old version of Newtonsoft.Json to the GAC and this is working fine. However, I wonder if there is another more supported solution? I have updated the BizTalk Server Visual Studio extension to the latest version 3.13.2.0 that is stated in the installation instructions for CU4 but it didn't make any difference.
Kind regards,
Anders
-
Maciej Denisiuk 76 Reputation points
2022-12-22T06:25:23.297+00:00