在SharePoint 2010中打包和上载可视Web部件

时间:2011-04-09 08:52:45

标签: sharepoint-2010

我在SharePoint 2010中创建了一个可视化的webpart,我想将其打包并上传到其验证的网站以外的网站。怎么做?

由于 Anoop George Thomas

1 个答案:

答案 0 :(得分:0)

假设您的项目目录为C:\projects\yourwebpart

转到C:\projects\yourwebpart\bin\Debug

该目录中应该有一个wsp文件。

wsp复制到目标服务器

安装wsp(stsadm -o addsolutionpowershell Add-SPSolution

修改

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