ASP.NET 和 GAC

发布于 2024-10-03 15:23:51 字数 142 浏览 1 评论 0原文

有一个使用参考 DLL 的 ASP.NET Web 应用程序。相同的 DLL 已在 GAC 中注册。

有没有一种方法可以强制 VS 或 ASP.NET 应用程序使用 Bin 文件夹中引用的 DLL,而不是使用 GAC 中的 DLL?

问候

There is an ASP.NET Web application that makes use of a reference DLL. The same DLL is registered in GAC.

Is there a way to force VS or ASP.NET application to make use of the referenced DLL inside Bin folder rather than using the one in GAC?

Regards

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

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

发布评论

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

评论(3

ぶ宁プ宁ぶ 2024-10-10 15:23:51

afaik,唯一的方法就是删除 GAC 中的那个

afaik, the only way is to remove the one in the GAC

往事风中埋 2024-10-10 15:23:51

您需要从 GAC 中删除程序集,或者为 bin 目录中的程序集指定不同的名称、版本、区域性或强名称密钥,以加载 bin 目录中的程序集。

You will need to remove the assembly from the GAC or give the assembly in the bin directory a different name, version, culture, or strong name key to get the assembly in the bin directory to load.

墨洒年华 2024-10-10 15:23:51

我创建了一个性感的视觉工作室扩展,它将帮助您实现您的目标。 Muse VSReferences 将允许您添加全局程序集缓存从“添加 GAC 参考”菜单项对项目的参考。

截图

I've created a sexy visual studio extension that will help you to achieve your goal. Muse VSReferences will allow you to add a Global Assembly Cache reference to the project from Add GAC Reference menu item.

screenshot

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