Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • OleP 67 posts 276 karma points
    Aug 22, 2018 @ 10:26
    OleP
    0

    HtmlAgilityPack assembly version is reset when Umbraco Cloud upgrades site

    Everytime I upgrade our solutions on Umbraco Cloud, SEOChecker makes the upgrade break because it resets the HtmlAgilityPack version to 1.4.9.5 when the assembly in my solutions is actually 1.8.4.0.

    <dependentAssembly>
            <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-1.4.9.5" newVersion="1.4.9.5" />
    </dependentAssembly>
    

    enter image description here

    I'm not sure if it's SEOChecker or Umbraco that actually resets the version. The fix is quite easy, but still annoying when you upgrade quite often.

  • Richard Soeteman 4047 posts 12900 karma points MVP 2x
    Aug 23, 2018 @ 07:36
    Richard Soeteman
    100

    Hi,

    Umbraco ships with 1.4.9.5 . So that is why the binding is set to 1.4.9.5 as well. Update with your version and all should be good. Indeed you need to update the web.config after every update of Umbraco.

    Best,

    Richard

  • OleP 67 posts 276 karma points
    Aug 30, 2018 @ 13:03
    OleP
    0

    Thanks for clarifying. I've downgrated to 1.4.9.5 to solve this issue. I don't have any good reason for upgrading, other than that I thought it was a good idea to keep the depedencies as up to date as possible. I'll let Umbraco handle it from now on.

Please Sign in or register to post replies

Write your reply to:

Draft