哪里是.NET Framework全局程序集缓存? [英] Where is the .NET Framework Global Assembly Cache?

查看:628
本文介绍了哪里是.NET Framework全局程序集缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了VS2010和.NET 4.0的话,我编写了一个程序集,并使用exe文件可在

I installed the VS2010 and .NET 4.0, then I compiled an assembly and ran the gacutil using the exe available on

的%ProgramFiles%\微软的SDK \的Windows \ v7.0A \ BIN \ NETFX 4.0工具

%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools

可执行的输出表示,组合体成功地安装在全局程序集缓存。但是,当我去到%WINDIR%\ assembly文件夹,我找不到我安装使用.NET Framework 4.0 GACUTIL大会。

The output of the executable said the assembly was sucessfully installed on Global Assembly Cache. However, when I go to %WINDIR%\assembly folder I cannot find the assembly I installed using the .NET Framework 4.0 gacutil.

我看过一些帖子说的.NET Framework 4.0中有一个分开的GAC,但我还没有发现被所在。

I've seen some posts saying the .NET Framework 4.0 has a separated GAC, but what I haven't found was where it is located.

可能有人帮我检查我在哪里可以看到.NET Framework的全局程序集缓存,因为它曾经工作于previous版本(%WINDIR%\组装)?

May someone to help me to check where can I see the Global Assembly Cache of .NET Framework, as it used to work on previous version (%WINDIR%\assembly)?

推荐答案

是的,有两种截然不同的GACS从.NET 4.0

Yes, there are two distinct GACs as from .NET 4.0

下面参见:<一href="http://stackoverflow.com/questions/2660355/net-4-0-has-a-new-gac-why">http://stackoverflow.com/questions/2660355/net-4-0-has-a-new-gac-why

如后所述,新的物理位置为%WINDIR%\ Microsoft.NET \组装\(你可以在命令提示符下使用dir命令interogate它,如果你有兴趣)。

As stated below, the new physical location is %windir%\Microsoft.NET\assembly\ (you can interogate it using the dir command at a command prompt if you're interested).

值得一提的是,应用程序运行速度高达2.0 CLR甚至不能够看到组件在新的GAC。

It's worth noting that applications running up to the 2.0 CLR will not even be able to see assemblies in the new GAC.

这篇关于哪里是.NET Framework全局程序集缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆