这是 GAC 的所在地吗?

发布于 2024-10-31 00:52:46 字数 143 浏览 7 评论 0原文

这是 GAC 的所在地吗?

C:\Windows\Microsoft.NET\assembly\GAC_MSIL

如果是这样,那么C:\Windows\assemble 是什么?

Is this the location of the GAC?

C:\Windows\Microsoft.NET\assembly\GAC_MSIL

If so, then what is C:\Windows\assembly?

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

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

发布评论

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

评论(1

春花秋月 2024-11-07 00:52:46

答案取决于所使用的 .NET Framework 的版本。多个版本可以并排安装(这可能适合您),并且为旧版本编写的程序将使用该版本(如果已安装)。

4.0之前
4.0 之前的所有版本都使用 %WINDIR%\ assembly (在您的情况下,C:\Windows\ assembly)作为 GAC。该目录使用特殊的资源管理器视图(程序集缓存查看器)来查看和管理 GAC。

自 4.0
自 4.0 起的版本使用 %WINDIR%\Microsoft.NET\ assembly (在您的情况下,C:\Windows\Microsoft.NET\ assembly)作为 GAC。从 4.0 开始,程序集缓存查看器已过时。资源管理器像常规目录一样显示 GAC 目录。

The answer depends on the version of the .NET Framework being used. Multiple versions can be installed side by side (which is probably the case for you), and programs written for an older version use that version if it's installed.

Before 4.0
All versions before 4.0 use %WINDIR%\assembly (in your case, C:\Windows\assembly) for the GAC. This directory uses a special Explorer view (the Assembly Cache Viewer) to view and manage the GAC.

Since 4.0
Versions since 4.0 use %WINDIR%\Microsoft.NET\assembly (in your case, C:\Windows\Microsoft.NET\assembly) for the GAC. Since 4.0, the Assembly Cache Viewer is obsolete. Explorer displays the GAC directory just like a regular directory.

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