packaging and uploading visual webparts in SharePoint 2010
I m creating a visual webpart in SharePoint 2010 and I want to package it and upload in site other than the o开发者_如何转开发ne it was validated for. How to do it?
Thanks Anoop George Thomas
Assuming your project directory is C:\projects\yourwebpart
Go to C:\projects\yourwebpart\bin\Debug
There should be a wsp
file in that directory.
Copy the wsp
to your target server
Install the wsp (stsadm -o addsolution
or powershell Add-SPSolution
)
EDIT
http://patrickboom.wordpress.com/2010/05/31/using-powershell-to-deploy-sharepoint-solutions-wsp-2/
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/12/02/adding-and-deploying-solutions-with-powershell-in-sharepoint-2010.aspx
精彩评论