如何在 sharepoint 2010 中将自定义 webpart 从一台服务器部署到另一台服务器 [英] How to deploy custom webpart from one server to another in sharepoint 2010
本文介绍了如何在 sharepoint 2010 中将自定义 webpart 从一台服务器部署到另一台服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找不到有关如何将我的自定义 Web 部件从一台 SharePoint 2010 Server 部署到另一台 SharePoint 2010 Server 的任何答案.
I can't find any answers on how to deploy my custom webpart from one SharePoint 2010 Server to another SharePoint 2010 Server.
我有一个在 SharePoint 2010 中开发的场解决方案 custom-webpart,我想将我的 webpart 移动到不同的环境.
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?
谢谢.
PS:VS2010、SP2010
PS: VS2010, SP2010
推荐答案
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
这篇关于如何在 sharepoint 2010 中将自定义 webpart 从一台服务器部署到另一台服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文