Karine Bosch’s Blog

On SharePoint

Feature Activation Dependencies in Visual Studio 2010

Sometimes you want to make sure that a feature can only be activated after one or more other features are already activated. In that case you will want to define a feature activation dependency.

This morning I was looking on how to define feature activation dependencies in Visual Studio 2010 using the SharePoint tools. I stumbled on this nice and well explained msdn article but I couldn’t find the Feature Activation Dependencies thing nowhere. For all those that are as blind (or as tired) as me this small post with screenshots 🙂

1. Open the Feature Designer by double-clicking the feature in the Solution Explorer

     Double-click the feature in Solution Explorer

     Remark: the screenshot shows 2 Visual Studio projects, resulting in 2 SharePoint solutions. Each Visual Studio project has 2 features.

2. Scroll down in the Feature Designer until you encounter the Feature Activation Dependencies section.

     Feature Activation Dependency section

3. Click the + button to expand the Feature Activation Dependencies section.

     The Feature Activation Dependency section

4. Click the Add button. This opens a dialog where you can select a feature on which you want to add a dependency. All features in your Visual Studio solution are shown in the list box, not only the features from your SharePoint solution. If the activation of your feature depends on a feature outside the Visual Studio solution, for example an out of the box SharePoint feature or a third party feature, you can check second radio button and specify the feature name and feature ID.

     Define a feature activation dependency

5. Once you have defined the activation dependency, you can click the Add button. The grid shows the features on which the activation of the current feature depends.

Feature activation dependency


March 12, 2011 - Posted by | SharePoint 2010


  1. Karin, always very simple and effective explanation…

    Comment by Salvatore | August 9, 2011 | Reply

  2. Thanks for the information it helped.. keep up the good work 🙂

    Comment by Samit | October 12, 2011 | Reply

  3. […] Easy to do in SharePoint 2010 as per Karine’s excellent blog […]

    Pingback by SharePoint 2010 Activation Dependencies « Sean Carter | June 20, 2012 | Reply

  4. very clean to the point and simple thanks

    Comment by Brandon | September 4, 2014 | Reply

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: