0

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?

1
  • is add command completed successfully? are you seeing any issue in the Event log? try to reset IIS on central admin server?
    – Waqas Sarwar MVP
    Commented Nov 9, 2017 at 17:39

1 Answer 1

0

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 C:\pathSolution.wsp

(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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.