Duplicate assembly redirects in web.config

Found in

EPiServer.CMS.Core 11.1.0

Fixed in

EPiServer.CMS.Core 11.3.4

Created

Feb 08, 2018

Updated

Feb 26, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce

  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.

Expected: No duplicate redirects
Actual: Duplicate redirects of EPiServer.Data.Cache

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