Try our conversational search powered by Generative AI!

Cannot update EPiServer.ServiceLocation.StructureMap version 2.0 for commerce manager

Found in

EPiServer.Commerce 11.5.0

Fixed in

EPiServer.Commerce 11.6.0

(Or a related package)

Created

Dec 04, 2017

Updated

Dec 28, 2017

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Install a Commerce site.
  2. Update the package "EPiServer.ServiceLocation.StructureMap" to version 2.0.

Expected: Update is successful.
Actual: Cannot update due to error message:

update-package : Unable to resolve dependencies. 'EPiServer.ServiceLocation.StructureMap 2.0.0' is not compatible with 'EPiServer.CommerceManager 11.5.1-pre-002817 constraint:
EPiServer.ServiceLocation.StructureMap (>= 1.0.0 && < 2.0.0)'.
At line:1 char:1
+ update-package EPiServer.ServiceLocation.StructureMap
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( [Update-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand