SPC017412: Do not add ActivationDependency to a Feature with a more restrictive scope

A Feature cannot have an ActivationDependency to a more restrictive scope. For example, a site collection-scoped Feature cannot have an ActivationDependency on a Web site-scoped Feature.

TypeName: DoNotAddActivationDependencyToMoreRestrictiveScope
CheckId: SPC017412
Severity: CriticalError
Type: FeatureActivationDependencyDefinition
Resolution

Remove the ActivationDependency or change the scope of the target Feature. MSDN: 'Cross-scope activation dependencies are not supported if the Feature depended upon is at a more restrictive scope. For example, a site collection-scoped Feature cannot have an activation dependency on a Web site–scoped Feature.'

Links

comments powered by Disqus