2
votes

I can't find any answers on how to deploy my custom webpart from one SharePoint 2010 Server to another SharePoint 2010 Server.

I have a farm solution custom-webpart developed in SharePoint 2010 and I want to move to my webpart to a different environement.

Can anybody give me step-by-step like how to deploy?

thanks.

PS: VS2010, SP2010

2

2 Answers

2
votes
Add-SPSolution fullpathtoWSP
Install-SPSolution –Identity NameOfWSP –WebApplication http://WebAppurl -GACDeployment

(give it time to deploy across the farm - you can check this status in Central Admin)

Enable-SPFeature -Identity "FeatureName" -Url http://SiteOrWebUrlForFeature