Nick Grattan's Blog

About Microsoft SharePoint, .NET, Natural Language Processing and Machine Learning

Automatic Activation in SharePoint 2010 Features Created with Visual Studio 2010

with one comment

Creating packages and features for SharePoint 2010 is a breeze with Visual Studio 2010. Projects support automatic feature and package deployment for list templates, web parts, site templates and others.

When creating a library template at the web scope level I couldn’t work out why my feature was becoming activated at the site collection top level site, but was inactivated in other sites in the site collection.

It turns out this is the default deployment behaviour in Visual Studio. To change, select the project in the Solution Explorer and press F4 to display the properties pane for the project. Change the “Active Deployment Configuration” property from “Default” to “No Activation”:

Written by Nick Grattan

May 11, 2010 at 12:29 pm

Posted in SharePoint 2010

One Response

Subscribe to comments with RSS.

  1. Thnks it helps me to not automatically activation of features….

    Sumeet Singhal

    August 4, 2011 at 10:40 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: