var attrs = multiVariantProductPage.Variants.GetInUseProductAttributes(store.Id);
YSOD says:
CS0121: The call is ambiguous between the following methods or properties: 'Vendr.Core.ProductVariantCollectionExtensions.GetInUseProductAttributes(Vendr.Core.Models.ProductVariantCollection, System.Guid)' and 'Vendr.Core.Models.ProductVariantCollectionExtensions.GetInUseProductAttributes(Vendr.Core.Models.ProductVariantCollection, System.Guid)'
We're going to resolve this properly in an upcoming patch release but the problem is some of our extension methods are in the wrong place so we moved them and obsoleted the old ones, but not this is causing this conflict.
You can get around it for now by adding a using statement at the top of your view file
GetInUseProductAttributes obsolete after Vendr upgrade from 1.5.0 to 1.8.0
Hi,
after upgrading to 1.8.0 I get an error in my Product.schtml
where attrs are declared:
YSOD says:
How can I fix this?
Hi Edgar,
We're going to resolve this properly in an upcoming patch release but the problem is some of our extension methods are in the wrong place so we moved them and obsoleted the old ones, but not this is causing this conflict.
You can get around it for now by adding a using statement at the top of your view file
And then where you call
GetInUseProductAttributes
change it toMatt
Thanks Matt,
that solved the problem.
Edgar
is working on a reply...