Try our conversational search powered by Generative AI!

Find for Commerce and FindSearchProvider not compatible with Newtonsoft.Json 11.x

Found in

EPiServer.Find.Commerce 11.0.0

Fixed in

EPiServer.Find.Commerce 11.0.1

(Or a related package)

Created

May 08, 2018

Updated

May 25, 2018

Area

Find

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Having site with commerce, EPiServer.Find.Commerce or EPiServer.Commerce.FindSearchProvider and latest CMS >= 11.6.0 (which supports Newtonsoft 11.x)
  2. Update-package Newtonsoft.Json for commerce site

Expected: Update package Newtonsoft.Json successfully
Actual: Cannot update Newtonsoft.Json to version 11.0.2 due to error
update-package : Unable to resolve dependencies. 'Newtonsoft.Json 11.0.2' is not compatible with 'EPiServer.Find.Commerce 11.0.0 constraint: Newtonsoft.Json (>= 10.0.3 && < 11.0.0)'.
At line:1 char:1
+ update-package Newtonsoft.Json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( [Update-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand

Note: It may also complain about other package constraint on Newtonsoft.Json, EPiServer.Find is being fixed too (in FIND-3511), as well is EPiServer.Commerce.Core (in COM-7066)