Reputation: 6001
I want to automatically activate a feature (specifically the SharePoint Server Publishing feature) automatically when I deploy a new wsp solution. Is this possible.
Where and How do I do this inside the visual studio Sharepoint project?
Upvotes: 0
Views: 7551
Reputation: 1
Look at the properties on the feature within VS -- there are a couple of options there that will control how the features behave when the solution is deployed via VS ( only ).. these settings have no affect on the solution once it is out of VS...
Upvotes: 0
Reputation: 1569
Hi Luis Please check this solution how to activate feature programmatically
Upvotes: 2