- Remove Webpart from SP.. EnterCentral Administration(as admin)=>System Settings=>Farm Management=>Manage Farm Solutions=>Enter your Webpart"exaple.wsp"=>Retract Solution"=>Select from="All content Web applications"=>Click Ok
- Wait until retracting your solution and enter again your solution and Click "remove solution"
- Publish your solution in VS 2012 or 2010 to ex:"C:\Users\john\Documents"
- After removed your solution Open as Administrator "Sharepoint Management Shell"
- First you must add solution to SP server write this code to power shell
- Now forced install and publish it in to SP
Add-SPSolution -Literal "C:\Users\john\Documents\sptest1.wsp"
- Install-SPSolution -Identity "sptest1.wsp" -WebApplication "http://yoursharepointsite.com" -GACDEployment -Force
- Install-SPSolution -Identity "sptest1.wsp" -GACDEployment -Force
FORCE BE WITH YOU...