如何更改 GAC 文件夹的路径?
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不会。这条道路不太可能改变(由 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
我认为这根本不是一个好主意。但无论如何: http://www.codeproject.com/KB/dotnet/demystifygac.aspx< /a> 有一节描述如何重新定位 GAC。该文档有点过时,因此不确定它是否仍然有效。
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.
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)