Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

Ambiguous Reference AspDotNetStorefrontCore in Shoppingcart.aspx.cs

I have a 9.5.0 issue in visual studio. I get:

Ambiguous Reference
    AspDotNetStorefrontCore.ShoppingCart
    AspDotNetStorefrontCore.ShoppingCart
match
    in Shoppingcart.aspx.cs

When I delete the core.dll reference in Web, the error disappears. As soon as I do a build, it "magically" reappears.

This started happening after  I cloned shoppingcart.aspx, ShoppingCartControl.cs and ShoppingCartLineItemDescriptionControl.cs. All the public properties/methods were renamed and do not conflict.

I'm not sure where to look next.

Thanks - Abbott
asked Jun 4, 2015 in MultiStore by AbbottF (370 points)

1 Answer

+1 vote

Hi Abbott,

Make sure if you cloned files and they are in the presence of the originals that the class names have been changed.  Otherwise you are compiling the same class twice, hence the ambiguous reference.

Trisha

Alynnlee Productions, Ltd. / Vibe Commerce: http://www.alynnlee.com
Add-ons and Connectors for AspDotNetStorefront: http://www.vibecommerce.com/add-ons/

answered Jun 11, 2015 by pligon (1,750 points)
...