SharePoint wsp solution: How to Deploy Globally

蓝咒 提交于 2019-12-05 09:50:09

"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.

I think you need to install it into the GAC - However here's a more informed answer:

C:>stsadm.exe -o deploysolution -name MossSolution.wsp -immediate -allowgacdeployment

this will deploy it globally. i will check some time later for allcontenturl. i have couple of batch files to deploy WSP files at some customers. i will check them to see again in which scenario we used allcontenturl. but my above reply about not specifying a URL is correct that in case when WSP contains only dll for GAC, you should not specify a URL.

from this thread on the social.msdn.microsoft.com forums

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!