3

I am creating a build script that will automatically create a Test Site, Deploy all wsp to that site and activate all the features. The problem I have is how do I enumerate the feature Names or GUID's from the WSP's or from the Test site for the WSP's I have just deployed?

3

You have to loop through the SPFarm.FeatureDefinitions and select all the ones where the SolutionId is equal to the added Solutions ID

  • This is exactly what I needed! Thank you very much! – Lukasz May 29 '12 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.