SharePoint wsp解决方案:如何在全局部署 [英] SharePoint wsp solution: How to Deploy Globally

查看:451
本文介绍了SharePoint wsp解决方案:如何在全局部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个wsp包并将其添加到

I have created a wsp package and add it to


管理中心>操作>解决方案管理

Central Administration > Operations > Solution Management

使用stsadm的 addsolution 命令。当我点击部署解决方案菜单,它转移到部署到解决方案页面。在此页面中的部署到?部分,它显示了一个包含所有内容Web应用程序的下拉列表。

using the addsolution command of stsadm. When I click on the Deploy Solution menu, it transfers me to deploy to the solution page. In this page, in the "Deploy To?" section, it shows me a dropdown list with entries like 'All Content web Applications'.

我想在全球部署我的解决方案,以便适用于部署后创建的所有新的Web应用程序。我看过部署到的WSP?部分仅显示此解决方案在全球部署和无下拉列表之类的消息。

I want to deploy my solution globally so that it is applicable to all new web applications created after the deployment. I have seen WSPs for which "Deploy To?" section shows only a message like "This solution deploys globally" and no dropdown list.

推荐答案

全局部署仅适用于在其中没有Web控件和Web部件的WSP文件。这些不能是全局部署,因为您选择部署的Web应用程序的web.config已更改,即插入条目以注册包含Web控件和Web部件的.dll。

"Globally deployed" only applies to WSP files that don't have web controls and web parts in them. These cannot be "Globally deployed", because the web.config of the web application you choose to deploy to is changed, i.e. entries are inserted in order to register your .dll's containing web controls and web parts.

这篇关于SharePoint wsp解决方案:如何在全局部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆