Microsoft.VisualStudio.SharePoint.Deployment Namespace

The Microsoft.VisualStudio.SharePoint.Deployment namespace contains types that you can use to extend the deployment process for SharePoint projects. For more information about using the types in this namespace, see Extending SharePoint Packaging and Deployment.

Classes

DeploymentStepAttribute

Identifies a class that implements a deployment step.

DeploymentStepIds

Defines the IDs of deployment steps that are included with Visual Studio.

Interfaces

IDeploymentConfiguration

Represents a deployment configuration for SharePoint projects.

IDeploymentConfigurationDictionary

Contains a collection of deployment steps.

IDeploymentConflict

Represents a conflict between items being deployed by a SharePoint project item and items on the SharePoint site.

IDeploymentConflictCollection

Represents a collection of IDeploymentConflict objects. Each IDeploymentConflict represents a conflict between items being deployed by a SharePoint project item and items on the SharePoint site.

IDeploymentContext

Represents the context of a deployment step that is being executed while a SharePoint project is being deployed or retracted.

IDeploymentStep

Represents a deployment step for SharePoint projects.

IDeploymentStepInfo

Contains information about a deployment step for SharePoint projects.

ISharePointProjectItemDeploymentContext

Represents the deployment context of a specific project item.

Enums

StartMode

Enumerates the operation that caused deployment to happen.

Remarks

Although most of the types in this namespace are interfaces, only the IDeploymentStep interface is intended to be implemented in your code. Implement this interface to define a new deployment step that can be executed when a SharePoint project item is deployed or retracted. For more information, see Walkthrough: Creating a Custom Deployment Step for SharePoint Projects.

You can also create your own deployment configuration by adding a new IDeploymentConfiguration object to the DeploymentConfigurations property of a SharePoint project. For more information, see Walkthrough: Creating a Custom Deployment Step for SharePoint Projects.