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.
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.
Composition for Vendr v2.0.1 in Umbraco v8
Hi!
I am having trouble finding the namespace for
eg
Compositions
I am just getting this error:
I have been trying to find it via the documentation but wihout any luck. I have
Vendr.Core
&Vendr.Common
installed.Thanks in advance!
//Johannes
Hi Johannes,
All composition extensions are in the
Vendr.Extensions
namespace within theVendr.Umbraco.Startup
project so you'll need to make sure you have a reference to that nuget package and have a using statement forVendr.Extensions
.Matt
Cheers Matt! That did it!
//Johannes
is working on a reply...