Copied to clipboard

Flag this post as spam?

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

  • Johannes Lantz 156 posts 838 karma points c-trib
    Feb 22, 2022 @ 14:01
    Johannes Lantz

    Composition for Vendr v2.0.1 in Umbraco v8


    I am having trouble finding the namespace for




    I am just getting this error:

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

    I have been trying to find it via the documentation but wihout any luck. I have Vendr.Core & Vendr.Common installed.

    Thanks in advance!


  • Matt Brailsford 4124 posts 22220 karma points MVP 9x c-trib
    Feb 22, 2022 @ 14:12
    Matt Brailsford

    Hi Johannes,

    All composition extensions are in the Vendr.Extensions namespace within the Vendr.Umbraco.Startup project so you'll need to make sure you have a reference to that nuget package and have a using statement for Vendr.Extensions.


  • Johannes Lantz 156 posts 838 karma points c-trib
    Feb 22, 2022 @ 14:27
    Johannes Lantz

    Cheers Matt! That did it!


Please Sign in or register to post replies

Write your reply to: