Copied to clipboard

Flag this post as spam?

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


  • Leo Jebran 9 posts 112 karma points
    Jan 19, 2025 @ 14:22
    Leo Jebran
    0

    Upgrading Umbraco V13 to V15 - Backoffice ambiguous error

    Trying to upgrade a project to Umbraco V15

    updated all the package versions in the csproj file to most current version available

    "Umbraco.Cms", "Umbraco.Forms" "Umbraco.Cms.Core", "Umbraco.Cms.Infrastructure" to 15.1.1

    "Umbraco.Forms.Deploy" , "Umbraco.StorageProviders.AzureBlob" and "Umbraco.StorageProviders.AzureBlob.ImageSharp" to 15.0.0

    when rebuilding the project I'm getting the following error

    The call is ambiguous between the following methods or properties: 'Umbraco.Extensions.UmbracoApplicationBuilderExtensions.UseBackOffice(Umbraco.Cms.Web.Common.ApplicationBuilder.IUmbracoApplicationBuilderContext)' and 'Umbraco.Extensions.UmbracoApplicationBuilderExtensions.UseBackOffice(Umbraco.Cms.Web.Common.ApplicationBuilder.IUmbracoApplicationBuilderContext)'
    

    on the AddBackoffice(), UseBackoffice() and UseBackOfficeEndpoints() in the startup file

    ideas?

    please and thank you.

  • John P Scott 20 posts 78 karma points
    Jan 20, 2025 @ 17:43
    John P Scott
    1

    I tried this the other week and got a similar error. I think the backoffice is new in v15.

    Try firing up a new Umbraco 15 project and comparing the startup/program files with what you have in V13.

    I found lots of breaking changes in my project - it was using Block Grid custom edit views and they are done completely differently. In the end I rebuilt the site from scratch. I can't remember whether I solved the startup code issue.

    Good luck

    John

  • Leo Jebran 9 posts 112 karma points
    Jan 27, 2025 @ 10:21
    Leo Jebran
    0

    Turns out I had uSync installed, so I needed to update it as well.

    I also had to delete all the models since they were using IPublishedSnapshotAccessor, which has been removed.

    I commented out some code to get the project to start and then rebuilt the models.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" button below.

    Continue discussion

Please Sign in or register to post replies