Skip to content

Instantly share code, notes, and snippets.

@sitefinitysteve
Last active July 23, 2020 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sitefinitysteve/3f5667899cb5809dd7124e491198d4bc to your computer and use it in GitHub Desktop.
Save sitefinitysteve/3f5667899cb5809dd7124e491198d4bc to your computer and use it in GitHub Desktop.
Sitefinity Assembly Binding example
<!-- https://www.sitefinitysteve.com/blog/code/2012/03/25/avoid-version-errors-with-assembly-binding -->
<?xml version="1.0" encoding="UTF-8"?>
<runtime>
<!-- So this binds everything to 12.2.7100.1 as an example -->
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="12.2.7100.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="12.2.7100.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="12.2.7100.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment