如何正确编写 stsadm -deploysolution? Sharepoint Web 部件部署
我得到了其他问题的帮助:
stsadm -o addsolution -filename {WSPFILENAME} stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
我的 WSP 文件在这里:
C:\H\H\H.wsp
url:
https://test0emeamicrosoftonlinecom-6.sharepoint.emea.microsoftonline.com/
如何正确编写此 stsadm 命令?
I got a help from other Question:
stsadm -o addsolution -filename {WSPFILENAME} stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
my WSP file is here:
C:\H\H\H.wsp
url:
https://test0emeamicrosoftonlinecom-6.sharepoint.emea.microsoftonline.com/
how to write this stsadm command correctly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我假设这是针对 SharePoint 2007。需要运行两个 STSADM 命令(SharePoint 2010 应使用 Powershell...STSADM 仅用于向后兼容)。
添加解决方案:
部署解决方案:
部署解决方案包的参数很大程度上取决于取决于解决方案中的内容以及需要部署的内容。
简单的全局部署可能如下所示:
对于针对场中特定 Web 应用程序的部署以及将程序集部署到 GAC 的部署,它可能如下所示:
I will assume this is for SharePoint 2007. There are two STSADM commands that need to be run (SharePoint 2010 should use Powershell...STSADM is only there for backwards compatibility).
Add the solution:
Deploy the solution:
The parameters for deploying your solution package are largely going to depend on what is in the solution and what needs to be deployed.
A simple global deployment may look something like this:
For a deployment targeted to a specific web application in your farm and with assemblies being deployed to the GAC it may look something like this: