We have 2 projects in visual studio.
Project 1 has 2 features.
Feature A is site scoped module Feature B is web application scoped feature stapler. (empty element with FeatureSiteTemplateAssociation)
Project 2 has 1 feature (Feature X) that deploys list.
I want to staple the feature X to Feature B. So I am putting the feature id of feature X into the empty element (Feature B) of Project 1 as:
<FeatureSiteTemplateAssociation Id="IDofFeatureX" TemplateName="GLOBAL" />
Is this good practice?