AssemblyBinding in Web Config and XMLNS
Date Published: 16 November 2006
Ran into this (again, I think) today while setting up some assembly binding betweenTelerikandPeterBlumcontrols in myLakeQuincyweb site. The short version is that the presence of an xmlns= in your
You will want to replace it with this:
<assemblyBinding xmlns=“urn:schemas-microsoft-com:asm.v1“> <dependentAssembly> <assemblyIdentity name=“RadComboBox.Net2“ publicKeyToken=“175e9829b585f1f6“ culture=“neutral“ /> <bindingRedirect oldVersion=“188.8.131.52-184.108.40.206“ newVersion=“220.127.116.11“ /> </dependentAssembly> </assemblyBinding>
Otherwise you may encounter something like this error:
Could not load file or assembly ‘RadComboBox.Net2, Version=18.104.22.168, Culture=neutral, PublicKeyToken=175e9829b585f1f6’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Steve is an experienced software architect and trainer, focusing currently on ASP.NET Core and Domain-Driven Design.