通过拖放将dll文件安装到GAC中

发布于 2024-11-17 11:25:40 字数 210 浏览 2 评论 0原文

我在 Visual Studio 中构建并编译了一个类项目,我想通过拖放将 dll 文件部署到全局程序集缓存 (GAC) 中。

我的问题是...

1) 将 dll 拖放到 GAC 中而不是使用 gacutil.exe 是否有任何副作用?

2) 将dll安装到GAC后,我需要执行iisreset才能使我的类项目生效,为什么?

提前谢谢您。

I had build and compile a class project in Visual Studio, I would like to deploy the dll file into Global Assembly Cache (GAC) by drag and drop.

My question is...

1) Is there any side effect of drag and drop of dll into GAC instead of using gacutil.exe?

2) After installing of dll into GAC, I required to do iisreset in order my class project to take effect, why?

thank you in advanced.

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

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

发布评论

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

评论(1

荒芜了季节 2024-11-24 11:25:40

1)我使用拖放,这对我来说很好。

2)不,不需要重置iis,但您必须重新启动dll使用的应用程序池。

1) I use drag and drop and it's fine for me.

2) No, iis reset is not needed, but you have to restart application pool, where dll used.

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