I have a wsp package that contains many features. Some of the features included in the wsp package depend on other features that are also in the wsp package.
In my case, 2 content types are created via features (Content Type A and Content Type B) and Content Type B inherits from Content Type A.
So obviously, the feature that contains the Content Type A (feature A) needs to be deployed before the feature that contains Content Type B (feature B).
Is there a way to make feature A deploy before feature B? Ideally, both features would be activated automatically through the onet.xml file and feature A would just be deployed before, but I have no idea how to do that...
I'm not necessarily looking for a solution that solves this particular problem, but I want to know is : How do you deal with features that depend on other features in a SharePoint project?
Thanks!