如何更改 GAC 文件夹的路径?

发布于 2024-11-15 18:18:36 字数 85 浏览 4 评论 0原文

GAC的路径可以改变吗?

我正在开发一个项目,我需要识别有关 .net 框架的所有静态信息。我只是想确定 gac 路径是否作为静态信息工作。

Can the path of GAC be changed?

I am working on a project where i need to identify all the static information regarding .net framework. I just want to make sure whether the gac path work as static information or not.

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

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

发布评论

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

评论(3

指尖上的星空 2024-11-22 18:18:36

不会。这条道路不太可能改变(由 Microsoft 以外的其他人改变)。尽管 .NET4 程序集已在新文件夹中进行 GAC:ed 处理。

更新

这是一个使用 fusion 的示例工具:http://www .codeproject.com/KB/dotnet/undocumentedfusion.aspx

No. It's unlikely that the path will ever change (by someone other than Microsoft). Although .NET4 assemblies are GAC:ed in a new folder.

Update

Here is a sample tool using fusion: http://www.codeproject.com/KB/dotnet/undocumentedfusion.aspx

挖个坑埋了你 2024-11-22 18:18:36

I don't think it's a good idea at all. But anyway: http://www.codeproject.com/KB/dotnet/demystifygac.aspx has a section the describes how to relocate the GAC. The document is a bit outdated, so not shure if it still works.

捎一片雪花 2024-11-22 18:18:36

GAC文件夹实际上是Windows操作系统的一部分,您不得更改它的路径(如果您不是作恶者)

The GAC folder is in fact a part of Windows OS and you must not change the path to it (if you are not evil-doer)

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