【问题标题】:SharePoint, to GAC, or not to GAC?SharePoint,给 GAC,还是不给 GAC?
【发布时间】:2011-10-28 09:53:38
【问题描述】:

从这些问题看得很清楚

When and when-not to install into the GAC?
What are the advantages and disadvantages of using the GAC?
To GAC, or not to GAC?

不建议按照解释将程序集部署到 GAC。 所以,我想知道为什么使用 Visual Studio 或 WSP Builder 构建的 SharePoint 解决方案的默认设置是将程序集部署到 GAC?

【问题讨论】:

  • 这些问题很笼统; SharePoint 强加了自己的一组优点和缺点。 MSDN SharePoint articles 通常支持 GAC。
  • @bzlm:来自链接“为了保持过程简单,本主题假设您要将程序集放在 bin 目录中。”我再次想知道在解决方案部署时我们应该考虑哪种部署方法。我们正在寻找一种标准/推荐的方法来遵循。
  • 也阅读本文的其余部分,尤其是 bin 和 GAC 的优缺点。 :) 这不是风格的选择;就像Adam says 一样,它是预期用途的选择。

标签: asp.net sharepoint assemblies gac bin-folder


【解决方案1】:

各种共享点组件(除了站点之外)将无法在 bin 文件夹中找到它。 有关详细信息,请参阅此其他帖子。

Does a SharePoint EventReceiver have to be installed in the GAC, and if so do all dependent assemblies have to as well?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多