Copied to clipboard

Flag this post as spam?

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


  • Jon 18 posts 128 karma points
    Jun 25, 2018 @ 12:48
    Jon
    0

    Cannot update NuGet packages in Umbraco solution

    Hi,

    I'm trying to update Nuget packages such as Newtonsoft and Lucene.Net but I'm getting an error saying its not compatible with 7.11.0:

    Unable to resolve dependencies. 'Lucene.Net 3.0.3' is not compatible with 'UmbracoCms.Core 7.11.0 constraint: Lucene.Net (>= 2.9.4.1 && < 3.0.0)'.

    Is there a way around the issue?

    Thanks in advance

  • Alex Brown 129 posts 620 karma points
    Jun 25, 2018 @ 12:59
    Alex Brown
    0

    Your version of Lucene must be 2.9.4.1. I don't think you can upgrade it.

  • Jon 18 posts 128 karma points
    Jun 25, 2018 @ 13:47
    Jon
    0

    Is that the same of NewtonSoft.Json v11.0.2?

  • Alex Brown 129 posts 620 karma points
    Jun 25, 2018 @ 13:59
    Alex Brown
    101

    Yeah, Umbraco stops these packages upgrading past a certain version because it has dependencies on these packages.

    If you upgrade a package there's a chance you change how it functions, so it might break Umbraco.

    I think 10.0.3 is the latest version of NewtonSoft.Json you can upgrade to.

Please Sign in or register to post replies

Write your reply to:

Draft