CSC512101. SPFeature should not be activated via code.
Avoid feature activation via code. It leads to "black boxed" feature activation chain, which leads to pooor overall solution quality, traceability and supportability.
- feature dependencies
- PowerShell script
Activation Dependencies and Scope
How to: Add and Remove Feature Dependencies