Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 GAC(全局程序集缓存)中有相同程序集的 3 个版本,但是当我进入框架文件夹时,我实际上需要一个特定版本,即
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
位于文件夹中的程序集是最新版本。
我可以实际检索添加到 GAC 中的第一个版本吗?
您在寻找像GacView这样的工具吗?
GACView 是 Windows Explorer 上标准 .NET 程序集查看器的替代品。除了标准列之外,GACView 还显示每个程序集的附加信息,例如修改日期、文件大小、程序集文件的完整路径、文件版本等。GACView 还允许您删除无法以常规方式卸载的程序集。
您还可以查看这篇文章Demystifying the .NET Global Assembly Cache
应该能够使用GAC Api做到这一点。
gacutil /l <程序集名称>