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

Leave a Comment
Hi All,
When we encounter "The language-neutral solution package was not found." issue while deploying SharePoint Project from Visual Studio for SharePoint 2010 and SharePoint 2013.

There are several ways we can try to resolve the issue, in this specific order:

1.Close Visual Studio Solution and completely exit out of it, then run it again and compile. This sometimes fixes the issue.
2.Right-Click on your Visual Studio Solution, select "Clean" Solution, then Right Click on SharePoint Project and choose "Retract". Rebuild and Deploy.
3.from PowerShell running as Administrator run Uninstall-SPSolution:
   syntax: Unistall-SPSolution -identity {Name of WSP File} -allwebapplications
4.from PowerShell running as Administrator run Remove-SPSolution:
   syntax: Remove-SPSolution -identity {Name of WSP File} -force
5.from PowerShell running as Administrator run the Delete() command:
             (Get-SPSolution {Name of WSP File}).Delete()
If items 1 through 4 doesn't fix it, item 5 will definitely do the trick, but it shouldn't be run unless all the other solutions fail.

Related Post

0 comments:

Post a Comment