EPiServer.ServiceLocation.StructureMap 2.0.x not compatible with Mirroring Service 11.5.2

Found in

EPiServer.CMS.Core 11.5.1

Fixed in

EPiServer.CMS.Core 11.8.0

Created

Apr 16, 2018

Updated

May 25, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce:

1. Create a site of AlloyMVC 7.5 installed with Mirroring Service.
2. Configure Mirroring channel -> Mirroring Service job works properly.
3. Upgrade site to CMS 11.1.0 + XForms 1.0.2 + EPiServer.ServiceLocation.StructureMap 1.0.0 --> Mirroring Service job still works properly.
4. Upgrade site to CMS Core 11.5.x (Microsoft.AspNet.Mvc is upgraded to 5.2.3.0).
5. Update web.config files for upgrading to MVC 5.
6. Upgrade site to EPiServer.ServiceLocation.StructureMap 2x and correct bindingRedirect settings in web.config files to newVersion as 4.5.2.0 (or 4.5.1.0).
7. Check system for Mirroring channel settings.

Expected:
Validation is passed.

Actual:
Error below (no exception found in log file)

Error executing task "mirroring": Could not load file or assembly '{color:#d04437}StructureMap, Version=4.5.2.0{color}, Culture=neutral, PublicKeyToken=e60ad81abae3c223' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.