This topic has not yet been rated - Rate this topic

IDeploymentStep Interface

Updated: May 2010

Represents a deployment step for SharePoint projects.

Namespace:  Microsoft.VisualStudio.SharePoint.Deployment
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
public interface IDeploymentStep

The IDeploymentStep type exposes the following members.

  Name Description
Public method CanExecute Determines whether the deployment step can be executed in the current context.
Public method Execute Executes the deployment step.
Public method Initialize Initializes the deployment step.
Top

Implement the IDeploymentStep interface to create a custom deployment step for SharePoint projects. When you deploy a SharePoint project, Visual Studio executes a series of deployment steps. Visual Studio includes built-in deployment steps for many tasks, such as retracting and adding solutions. However, you can also create your own deployment steps. For more information, see Extending SharePoint Packaging and Deployment and Walkthrough: Creating a Custom Deployment Step for SharePoint Projects.

A deployment step is a singleton that is instantiated once per Visual Studio instance.

Classes that implement this interface must include the System.ComponentModel.Composition.ExportAttribute and the DeploymentStepAttribute to be discovered by the project system.

Date

History

Reason

May 2010

Added new remarks with links to topics that show how to implement this interface

Information enhancement.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ