问题描述
这是 GAC 的所在地吗?
Is this the location of the GAC?
C:WindowsMicrosoft.NETassemblyGAC_MSIL
如果是,那么C:Windowsassembly
是什么?
推荐答案
答案取决于所使用的 .NET Framework 版本.可以并排安装多个版本(这对您来说可能是这种情况),如果安装了旧版本,则为旧版本编写的程序会使用该版本.
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.
4.0 之前
4.0 之前的所有版本为 GAC 使用 %WINDIR%assembly
(在您的情况下,C:Windowsassembly
).此目录使用特殊的资源管理器视图(程序集缓存查看器)来查看和管理 GAC.
Before 4.0
All versions before 4.0 use %WINDIR%assembly
(in your case, C:Windowsassembly
) for the GAC. This directory uses a special Explorer view (the Assembly Cache Viewer) to view and manage the GAC.
从 4.0 开始
4.0 之后的版本使用 %WINDIR%Microsoft.NETassembly
(在您的情况下,C:WindowsMicrosoft.NETassembly
)作为 GAC.从 4.0 开始,Assembly Cache Viewer 已过时.资源管理器显示 GAC 目录就像常规目录一样.
Since 4.0
Versions since 4.0 use %WINDIR%Microsoft.NETassembly
(in your case, C:WindowsMicrosoft.NETassembly
) for the GAC. Since 4.0, the Assembly Cache Viewer is obsolete. Explorer displays the GAC directory just like a regular directory.
这篇关于这是GAC 的位置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!