Copied to clipboard

Flag this post as spam?

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


  • Aaron 20 posts 180 karma points
    Feb 15, 2018 @ 16:12
    Aaron
    0

    Updating NuGet packages / dependancies?

    I am new to umbraco and every other CMS i have used preaches to update all dependancies and plugins to the latest version for bug fixes and security patches...

    So on checking i noticed my clean install has 34 nuget package updates

    Is it ok to go ahead and install these or will this break the site?

    Thanks

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Feb 15, 2018 @ 16:14
    Sebastiaan Janssen
    100

    We carefully set all the dependencies to known working versions, unfortunately we have a lot of them so it's very difficult to keep up and test updates for every package.

    The short answer is: yes, updating them all will definitely break the site.

    The long answer is: it depends, some dependencies are fine (json.net for example usually doesn't break when you update it) but we recommend only doing it if you NEED a specific update.

  • Aaron 20 posts 180 karma points
    Feb 15, 2018 @ 16:17
    Aaron
    0

    Ok brilliant, thanks for the reply.

    One thing to add i had to update:

    Microsoft.CodeAnalysis to 1.1 as 1.0 threw an exception

  • Nikhil 54 posts 166 karma points
    Feb 26, 2020 @ 14:22
    Nikhil
    0

    Were you able to update all dependencies other than Microsoft.CodeAnalysis and get everything working?

Please Sign in or register to post replies

Write your reply to:

Draft