The following describes how to develop and deploy the HR Leave system:
Installation and deployment
Add-SPSolution-LiteralPath E: \ Alfred \ Project \ SSI \ Workflow \ TFS \ AZ. SharePoint. ssi \ AZ. SharePoint. ssi \ bin \ Debug \ sharepoint. leave. wsp
Install-SPSolution-Identity sharepoint. leave. wsp-GACDeployment
Description: A new deployment method. If there are multiple projects or third-party dll references in this solution, that is, there are multiple dll assembly files, you need to use the parameter-GACDeployment, in this way, the referenced dll file will be added to GAC.
Upgrade deployment
Update-spsolution-identity sharepoint. leave. wsp-literalpath D: \ TFS \ SharePoint. HR \ SharePoint. LEAVE \ bin \ Debug \ sharepoint. leave. wsp-GACDeployment
Note: If the solution contains TaskForm (using InfoPath) and TaskForm is updated, you must manually reactivate TaskForm's Feature. Otherwise, only this command can be executed.
Example of upgrading and deploying feature containing TaskForm
Update-spsolution-identity lj. hr. wsp-literalpath D: \ TFS
\ LJ. SharePoint. HR \ LJ. SharePoint. HR \ bin \ Debug \ lj. hr. wsp-gacdeployment
Uninstall-SPFeature-Identity "a7c5fb24-9df2-4e58-8bc6-5fd79b08c757"
Disable-SPFeature-Identity "a7c5fb24-9df2-4e58-8bc6-5fd79b08c757"-URL "https://dev61.emdev.azcollaboration.com/operations/Operations"
Install-SPFeature-path "LJ. SharePoint. HR_HR.levaeWorkFlow"
Enable-SPFeature-Identity "a7c5fb24-9df2-4e58-8bc6-5fd79b08c757"-URL "https://dev61.emdev.azcollaboration.com/operations/Operations"
Note: LJ. SharePoint. HR_HR.levaeWorkFlow is the Feature name.
Author: MingleLui
Source: http://mingle.cnblogs.com/
The following describes how to develop and deploy the HR Leave system:
Installation and deployment
Add-SPSolution-LiteralPath E: \ Alfred \ Project \ SSI \ Workflow \ TFS \ AZ. SharePoint. ssi \ AZ. SharePoint. ssi \ bin \ Debug \ sharepoint. leave. wsp
Install-SPSolution-Identity sharepoint. leave. wsp-GACDeployment
Description: A new deployment method. If there are multiple projects or third-party dll references in this solution, that is, there are multiple dll assembly files, you need to use the parameter-GACDeployment, in this way, the referenced dll file will be added to GAC.
Upgrade deployment
Update-spsolution-identity sharepoint. leave. wsp-literalpath D: \ TFS \ SharePoint. HR \ SharePoint. LEAVE \ bin \ Debug \ sharepoint. leave. wsp-GACDeployment
Note: If the solution contains TaskForm (using InfoPath) and TaskForm is updated, you must manually reactivate TaskForm's Feature. Otherwise, only this command can be executed.
Example of upgrading and deploying feature containing TaskForm
Update-spsolution-identity lj. hr. wsp-literalpath D: \ TFS
\ LJ. SharePoint. HR \ LJ. SharePoint. HR \ bin \ Debug \ lj. hr. wsp-gacdeployment
Uninstall-SPFeature-Identity "a7c5fb24-9df2-4e58-8bc6-5fd79b08c757"
Disable-SPFeature-Identity "a7c5fb24-9df2-4e58-8bc6-5fd79b08c757"-URL "https://dev61.emdev.azcollaboration.com/operations/Operations"
Install-SPFeature-path "LJ. SharePoint. HR_HR.levaeWorkFlow"
Enable-SPFeature-Identity "a7c5fb24-9df2-4e58-8bc6-5fd79b08c757"-URL "https://dev61.emdev.azcollaboration.com/operations/Operations"
Note: LJ. SharePoint. HR_HR.levaeWorkFlow is the Feature name.
Author: MingleLui
Source: http://mingle.cnblogs.com/