After doing the solution retract and removed, I ran the command --> Add-SPSolution -LiteralPath 'pathSolution.wsp'
However, when I access the 'Manage farm solutions' page, there is no solution for me to deploy it.
What could be happening?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
The deploy WSP solution operation consists of two cmdlets
(1) Uploads a SharePoint solution package to the farm.
Add-SPSolution -LiteralPath 'C:\pathSolution.wsp'
Note: Make sure you have specified the correct solution path like
(2) Deploys an installed SharePoint solution on the farm
Install-SPSolution -Identity pathSolution.wsp -GACDeployment
For more details check Install and deploy a SharePoint (wsp) solution package using SharePoint PowerShell