Copied to clipboard

Flag this post as spam?

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


  • Kåre Mai 29 posts 207 karma points
    Feb 02, 2024 @ 07:28
    Kåre Mai
    0

    Unable to upgrade from 12 to 13. Version conflict

    Hi,

    When i try to upgrade from Umbraco 12.3.3 to 13.1.0 i get the following error:

    NU1107  Version conflict detected for Umbraco.Cms.Web.BackOffice. Install/reference Umbraco.Cms.Web.BackOffice 13.1.0 directly to project universe-web to resolve this issue. 
     universe-web -> Umbraco.Cms 13.1.0 -> Umbraco.Cms.Targets 13.1.0 -> Umbraco.Cms.StaticAssets 13.1.0 -> Umbraco.Cms.Web.BackOffice (>= 13.1.0 && < 14.0.0) 
     universe-web -> SeoToolkit.Umbraco 3.4.0 -> Umbraco.Cms.Web.BackOffice (>= 11.0.0 && < 12.999.0).
    

    I have set the project to use .NET 8 prior to running the updates.

    I then tried following the advice given in the error message but that seems to be pandoras box as for each reference i add it just errors out wanting another direct reference and again and again.

    What am i doing wrong? In the past i've always just opened nuget manager, selected the Updates tab and then updated the packages with no problem.

  • Kåre Mai 29 posts 207 karma points
    Feb 02, 2024 @ 07:35
    Kåre Mai
    101

    I had to install these two dependencies manually for the version conflict to resolve:

    Microsoft.CodeAnalysis.Common 4.8.0 Microsoft.CodeAnalysis.CSharp 4.8.0

  • McGern 13 posts 44 karma points
    Mar 06, 2024 @ 17:45
    McGern
    0

    Hi. Having the same issue (upgrading 11 to 13), but I can't install those packages because it says they can't installed manually? e.g. https://www.nuget.org/packages/Microsoft.CodeAnalysis.Common/

  • Deep Vyas 6 posts 76 karma points
    Feb 02, 2024 @ 09:25
    Deep Vyas
    0

    Thanks for sharing your findings @Kåre Mai

Please Sign in or register to post replies

Write your reply to:

Draft