Share via


How to: Add and Remove Items to SharePoint Features

When you create a SharePoint solution, Visual Studio adds the default SharePoint project items to your Feature. Before deployment, you can add and remove SharePoint project items to modify the SharePoint Feature.

Adding SharePoint Project Items to a Feature

To add SharePoint project items with the Feature Designer

  1. Open the Feature Designer. For more information, see How to: Customize a SharePoint Feature.

  2. Select one or more items in the Items in the Solution list.

  3. Click the Add button (>) to add selected items, or click the Add All button (>>) to add all items.

  4. or

  5. Double-click an item to move it to the other list. For example, you can double-click an item in the Items in the Solution list to move it to the Items in the Feature list.

    The SharePoint Project Items appear in the Items in the Feature list.

Removing SharePoint Project Items from a Feature

To remove SharePoint Items with the Feature Designer

  1. Select one or more items in the Items in the Feature list.

  2. Click the Remove button (<) to remove selected items, or click the Remove All button (<<) to remove all items.

    The SharePoint Project Items appear in the Items in the Solution list.

See Also

Other Resources

Creating SharePoint Features

Packaging and Deploying SharePoint Solutions