We are currently implementing Commerce solution based on SXA-commerce approach (using Helix-architecture). We use & extend
So, for example, if we want to extend
Account module, we have our custom
ProjectName.Feature.Account project, where Sitecore-dll is referenced in this way:
<Reference Include="Sitecore.Commerce.XA.Feature.Account"> <HintPath> $(SITECORE_PATH)\bin\Sitecore.Commerce.XA.Feature.Account.dll </HintPath> </Reference>
SITECORE_PATH is environment variable, that set to Sitecore IIS server path.
But I think, it's bad approach.
Is there another way to manage these references? Which approache you use in your team? Maybe there's Nuget, that could be used to this?
P.S. I know, there is Sitecore Nuget Gallery, but I'm unable to find XA-libs there.