No Activation for Web Application and Farm scoped features in SharePoint 2010

I have created a sharepoint solution using Visual Studio 2010. This solution contains a "Farm" scoped feature. I dont want to activate the feature by default when i deploy the solution. Right click the solution and click on Properties. Click on SharePoint tab. Select "No Activation" in the "Active Deployment Configuration". By doing this only "Site" and "Web" scoped features will be working. For "Farm" and "Web Application" scoped features will still be activated.


You need to change the "Activate On Default" property to false which will be available in the feature properties.

farm.jpg