Bagikan melalui


How to: Edit a SharePoint Deployment Configuration

You can create a deployment configuration or modify an existing deployment configuration. For example, you could run a single step or change the order of the steps in the deployment process. You may want to create or modify deployment configurations because the built-in and programmatically added configurations cannot be changed.

Creating a SharePoint Deployment Configuration

To create a SharePoint deployment configuration

  1. Select a SharePoint project in Solution Explorer and then click ProjectName Properties on the Project menu.

  2. Click the SharePoint tab.

  3. Click New.

    The Add New Deployment Configuration dialog box appears.

  4. In the Name text box, type a name for the deployment configuration.

  5. In the Available Deployment Steps pane, select the steps that you want to add to the deployment configuration, and then click the (>) button.

    Note

    If you have configured a pre-deployment command or a post-deployment command, these steps only run if you add these steps to a customized deployment configuration.

  6. Click OK.

Changing the Active Deployment Configuration

To change the active deployment configuration

  1. Select a SharePoint project in Solution Explorer and then click ProjectName Properties on the Project menu.

  2. Click the SharePoint tab.

  3. In the Active Deployment Configuration combo box, click the arrow.

  4. Click the name of the deployment configuration that you want to use.

See Also

Other Resources

Packaging and Deploying SharePoint Solutions