Copied to clipboard

Flag this post as spam?

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


  • Rob Watkins 370 posts 702 karma points
    Aug 07, 2023 @ 10:30
    Rob Watkins
    0

    IUmbracoBuilder' does not contain a definition for 'AddDeliveryApi'

    Trying to build a created (and working) Umbraco 11 install and I'm getting this?

    Error   CS1061  'IUmbracoBuilder' does not contain a definition for 'AddDeliveryApi' and no accessible extension method 'AddDeliveryApi' accepting a first argument of type 'IUmbracoBuilder' could be found (are you missing a using directive or an assembly reference?)
    

    I have using Umbraco.Extensions; in there - which definitely works as services.AddUmbraco was erroring and now it isn't.

    Any ideas?

  • Huw Reddick 1932 posts 6722 karma points MVP 2x c-trib
    Aug 07, 2023 @ 10:45
    Huw Reddick
    100

    I thought AddDeliveryApi was U12 not U11? maybe you have the wrong template version installed

  • Rob Watkins 370 posts 702 karma points
    Aug 07, 2023 @ 11:15
    Rob Watkins
    0

    Huw! You're a question answering MACHINE! I mean not an "answering machine". You know what I mean.

    Anyway that is possible. I'm in the middle of something else right now but I'll check out how I installed it and whether all my versions match.

  • Rob Watkins 370 posts 702 karma points
    Aug 08, 2023 @ 08:48
    Rob Watkins
    0

    Yes, it was a versioning thing, I had broken my install and then messed up restoring it and mixed up the versions.

  • 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" link below.

Please Sign in or register to post replies