LinkedIn

Tuesday, 10 March 2009

DLL Binding Redirect



We had an issue where an old app was breaking because it was looking for an old version of Microsoft AJAX when we had upgraded to Microsoft AJAX 3.5.

To quickly get around this issue we did a binging redirect:

<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<!-- Assembly versions can be redirected in application, publisher policy, or machine configuration files. -->
<bindingRedirect oldVersion="1.0.61025.0" newVersion="3.5.0.0"/>
<publisherPolicy apply="no" />
</dependentAssembly>

Pretty easy. Although we may move to the machine.config for a more global solution.

RuSs