Error occurred in deployment step ‘Retract Solution’: The language-neutral solution package was not found.

We sometimes get this error when deploying SharePoint 2010 solutions from Visual Studio 2010:
Error occurred in deployment step ‘Retract Solution’: The language-neutral solution package was not found.
To resolve this error user Powershell :
  • Run Powershell.
  • Ensure you have Sharepoint Powershell commands enabled
    For that run following command

    Add-PSSnapin Microsoft.SharePoint.Powershell
     
  • run following command (Replace mysolution.wsp with your solution name)
    (get-spsolution mysolution.wsp).Delete()

Comments

Anonymous said…
Thanks a lot.
After doing lots of search I was not able to resolve this. But you have given a good way to solve.
Anonymous said…
Ya , Its working..........
Thanks a lot.........
Anonymous said…
Thanks a lot ;-)
Anonymous said…
Thanks a lot ;-)
Anonymous said…
Thanks a lot ;-)
Anonymous said…
Its Working ,Thank you........
Anonymous said…
Thanks from Brazil!
Anonymous said…
Thanks a lot.