- Close Visual Studio Solution and completely exit out of it, then run it again and compile. This sometimes fixes the issue.
- Right-Click on your Visual Studio Solution, select "Clean" Solution, then Right Click on SharePoint Project and choose "Retract". Rebuild and Deploy.
- In PowerShell running as Administrator run Uninstall-SPSolution:
- Unistall-SPSolution -identity {Name of WSP File} -allwebapplications
- In PowerShell running as Administrator run Remove-SPSolution: Remove-SPSolution -identity {Name of WSP File} -force
- In PowerShell running as Administrator run the Delete() command: (Get-SPSolution {Name of WSP File}).Delete()
Original Source : language-neutral-solution-package-Error
But In My problem I do not Find WSP to uninstall. so what to do in such condition:
Just Follow this step:
- Open Your solution and Publish the Project. This will create wsp in Bin folder of your project.
- Open cmd in Administrator mode and enter this path; cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\
- Then type following command to add wsp : stsadm -o addsolution -filename <path of .wsp file>.
- Then type following command to add wsp : stsadm -o deploysolution -name <name of .wsp file> -url <site url> - immediate -allowgacdeployment -force.
this work for me. when i deploy again it run as smoothly as it could.
No comments:
Post a Comment