是否有 (.net) COM+ 程序集需要安装在GAC中吗?

发布于 2024-07-06 15:15:03 字数 198 浏览 5 评论 0原文

我有一个 .net 程序集,其中包含 COM+ ServicedCopmonent,目前我将其安装到 GAC 中以使一切正常工作。 这意味着我还需要在 GAC 中引用它的每个程序集。

在开发过程中,对这些程序集进行更改、将它们重新安装到 GAC 然后进行测试是非常痛苦的。

是否可以维护 COM+ 组件但不将所有内容都包含在 GAC 中?

I have a .net assembly that has a COM+ ServicedCopmonent in it and at the moment I install it into the GAC to get everything working. This means that I need to have every assembly that it references in the GAC as well.

During development it is quite painful to make changes to thes assemblies, re-install them to the GAC and then test.

Is it possible to maintain the COM+ component but not have everything in the GAC?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无妨# 2024-07-13 15:15:03

不,您不必将其安装在 GAC 中。 您可以使用 regsvcs (http://msdn.microsoft.com/en-us/ library/04za0hca.aspx) 和 /appdir 参数来明确指定应用程序所在的位置。

No, you don't have to install it in the GAC. You can use regsvcs (http://msdn.microsoft.com/en-us/library/04za0hca.aspx) with /appdir parameter to specify explicitly where the app is located.

故人爱我别走 2024-07-13 15:15:03

不,它们需要使用 regsvcs 工具在注册表中注册。 但它必须是一个强命名的程序集。

No, they need to be registered in the Registry using the regsvcs tool. It needs to be a strongly named assembly though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文