Skip to content

Commit bc5035b

Browse files
committed
Add the missing Microsoft.Web.Infrastructure binding redirect
System.Web.Mvc, System.Web.Optimization, and System.Web.WebPages all reference Microsoft.Web.Infrastructure 1.0.0.0, but 2.0.0.0 is what ships in bin. The mismatch predates the net481 retarget; it surfaced while computing which redirects the retarget needed, and leaving it would keep these three examples from starting. Part of #32
1 parent 1fc9cfc commit bc5035b

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎src/MultitenantExample.MvcApplication/Web.config‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
6060
<bindingRedirect oldVersion="0.0.0.0-9.3.2.0" newVersion="9.3.2.0" />
6161
</dependentAssembly>
62+
<dependentAssembly>
63+
<assemblyIdentity name="Microsoft.Web.Infrastructure" publicKeyToken="31bf3856ad364e35" culture="neutral" />
64+
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
65+
</dependentAssembly>
6266
</assemblyBinding>
6367
</runtime>
6468
<system.serviceModel>

‎src/MvcExample/Web.config‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
4141
<bindingRedirect oldVersion="0.0.0.0-9.3.2.0" newVersion="9.3.2.0" />
4242
</dependentAssembly>
43+
<dependentAssembly>
44+
<assemblyIdentity name="Microsoft.Web.Infrastructure" publicKeyToken="31bf3856ad364e35" culture="neutral" />
45+
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
46+
</dependentAssembly>
4347
</assemblyBinding>
4448
</runtime>
4549
<system.serviceModel>

‎src/WebFormsExample/Web.config‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
5151
<bindingRedirect oldVersion="0.0.0.0-9.3.2.0" newVersion="9.3.2.0" />
5252
</dependentAssembly>
53+
<dependentAssembly>
54+
<assemblyIdentity name="Microsoft.Web.Infrastructure" publicKeyToken="31bf3856ad364e35" culture="neutral" />
55+
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
56+
</dependentAssembly>
5357
</assemblyBinding>
5458
</runtime>
5559
<system.webServer>

0 commit comments

Comments
 (0)