You are designing a SharePoint 2010 feature that will be included in a solution package.
You have added a feature receiver to your feature. You need to ensure that the code in the
feature receiver executes when the solution package is deployed to the Web front-end
servers. Which approach should you recommend?
A.
Add a FeatureActivated node referencing the feature receiver assembly to the solution
manifest file.
B.
Add your code to the FeatureInstalled method of the feature receiver.
C.
Add your code to the FeatureActivated method of the feature receiver.
D.
Add a FeatureInstalled node referencing the feature receiver assembly to the solution
manifest file.