StructureMap: Duplicate assembly redirects in web.config

Found in

EPiServer.ServiceLocation.StructureMap 2.0.0

Fixed in

EPiServer.ServiceLocation.StructureMap 2.0.1

Created

Feb 12, 2018

Updated

Feb 23, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

  1. Create a new site with Alloy MVC using VS 11.1.0.326 (or remove assemblyredirects from web.config and install package to site)
  2. Open web.config

ACTUAL: Duplicate redirects of EPiServer.ServiceLocation.StructureMap
EXPECTED: No duplicate redirects

Note: Trying to update NuGet packages to newer version will now fail, update should handle duplicates correctly. Workaround is just to remove the duplicates.