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

I have a list that is deploying with a Site Template.

I have properly set the Definition to deploy with a Site scoped feature, and the Instance to deploy with a Web scoped feature.

All is well, in that when I create the site the list does appear.

The downside is that it also appears at the root site specified in VS2010, which is the site collection.

Will that happen with the WSP deployment as well? IF so how can I stop that, if not, then I assume it's just a VS bug that will go away later?

share|improve this question
up vote 1 down vote accepted

Automatic activation of Sitecollection and Site features is only part of the default VS deployment and will not happen when you deploy the WSP "by hand".

It's not a Bug in VS but a feature which you can turn off on a project basis if it's not appropiate for your project.

  • Right click the project in visual studion
  • Select Properties
  • Select the SharePoint tab
  • In Active Deployment Configuration select "No Activation" or build your own Configuration (if you install CKS: Development Tools you get a lot extra steps than what's available out of the box)
share|improve this answer
Nice, thanks, I was wondering how that worked :) – Wesley Jun 24 '12 at 21:34

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.