![]() For example, you can determine which deployment step is executing and whether the solution is being deployed or retracted. In the event handlers, use the DeploymentStepStartedEventArgs and DeploymentStepCompletedEventArgs parameters to get information about the deployment step. In the extension, handle the DeploymentStepStarted and DeploymentStepCompleted events of an ISharePointProjectItemType object (in a project item extension or project extension) or an ISharePointProjectItemTypeDefinition object (in a definition of a new project item type). How to: Define a SharePoint project item type How to: Create a SharePoint project extension How to: Create a SharePoint project item extension For more information, see the following topics: ![]() To run code when deployment steps are executedĬreate a project item extension, a project extension, or a definition of a new project item type. For more information, see Extending SharePoint Packaging and Deployment. If you want to perform additional tasks for a deployment step in a SharePoint project, you can handle events that are raised by SharePoint project items before and after Visual Studio executes each deployment step. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |