sharepoint-2010wsp

Activate Sharepoint Feature when Solution is deployed


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?


Solution

  • Hi Luis Please check this solution how to activate feature programmatically

    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/9812889d-954a-43ef-9377-6561e91f3bbf/