SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Visual Studio I have a solution containing two features with their Scope set to "Web". These two features work as expected but the only thing that is going "wrong" is that they are activated when I deploy the solution. This shouldn't be happening since I set the property "Activate On Default" to "False.

At first I thought this was my fault since the features had already been installed when I set those properties to false. Then I deactivated and uninstalled both features (succesfully) to try again but upon deployment they are still activated.

Does anyone know what I'm doing wrong or how I can solve this issue?

Thanks in advance!

share|improve this question
up vote 3 down vote accepted

Activate On Default only works when the feature scope is set to Farm or Web Application.

Here's a blog with a solution.

share|improve this answer
Thanks a lot! This is a solution I was looking for :) – Abbas Sep 18 '12 at 9:38

Be aware that Visual Studio is doing the activation for you. The Visual Studio behavior is controlled via the "Active Deployment Configuration." There is a configuration named "No Activation" that will only deploy the solution, allowing you to activate as needed.

share|improve this answer
Thank you for your answer. +1 for the explanation! ;) – Abbas Sep 18 '12 at 13:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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