Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
1 like 0 dislike
2k views
in SharePoint Server by 14 18 26

I get this error "Error occurred in deployment step 'Retract Solution' The language-neutral solution package was not found." when deploying or retracting a SharePoint 2019 solution using Visual Studio 2022.

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

I checked the Farm solutions in SharePoint Central Administration and I can't find this solution, Also I have closed and restarted the Visual Studio. Moreover, I have performed IISREST to no avail!

How can I solve this error "The language-neutral solution package was not found" to can deploy my solution in SharePoint 2019?


1 Answer

2 like 0 dislike
by 161 202 395
selected by
 
Best answer

Solving: The language-neutral solution package was not found in SharePoint 2019

This issue "The language-neutral solution package was not found." usually occurs in case the WSP solution deployment process has been stucked or corrupted during the deployment or retract process.

In this case, you may not found the WSP solutions in the SharePoint Central Administration > Farm Solutions, However, If you get all WSP solutions using PowerShell you will find it.

Therefore, to solve this error "The language-neutral solution package was not found.", you have to do the following:

  1. Open SharePoint PowerShell as Administrator.
  2. Get all SharePoint Solutions using the below cmdlet

     Get-SPSolution
    
  3. Check if the solution is listed in the result then delete the WSP solution using the below cmdelt

     (Get-SPSolution solutionName.wsp).Delete()
    

    Delete WSP sharepoint solution

  4. Try now to deploy your solution again that should be working properly without getting
    "The language-neutral solution package was not found."


See Also

by 14 18 26
0 0
you made my day, the error has been gone after deleting the wsp solution, thanks!
If you don’t ask, the answer is always NO!
...