Remembered a useful way to redirect assembly bindings to newer versions:
1: <?xml version="1.0" encoding="utf-8" ?>
2: <configuration> 3: <runtime> 4: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5: <dependentAssembly> 6: <assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
7: <bindingRedirect oldVersion="1.1.0.0" newVersion="1.2.0.0" />
8: </dependentAssembly> 9: </assemblyBinding> 10: </runtime> 11: </configuration>Here I redirect an old version of Castle.Core to a newer one. Hopefully I’ll remember this next time :)

No comments:
Post a Comment