简体   繁体   English

GacUtil + .net Framework 4.0

[英]GacUtil + .net framework 4.0

I added an assembly to the GAC using the Visual Studio 2010 command prompt. 我使用Visual Studio 2010命令提示符将程序集添加到了GAC。

gacutil /i xxx

It shows a message: 它显示一条消息:

Assembly successfully added to the cache. 程序集成功添加到缓存中。

But it's not visible in C:\\WINDOWS\\assembly and I read that the .NET Framework GAC has been moved to C:\\WINDOWS\\Microsoft.NET\\assembly for v4.0 assemblies. 但是它在C:\\WINDOWS\\assembly不可见,我读到.NET Framework GAC已移至v4.0程序集的C:\\WINDOWS\\Microsoft.NET\\assembly I searched for my assembly there as well but I cannot find it. 我也在那里搜索了我的程序集,但找不到它。 So where do I find the installed assembly for the .NET Framework v4.0? 那么,在哪里可以找到.NET Framework v4.0的已安装程序集?

Yes for .Net Framework 4 GAC is in this location %windir%\\Microsoft.NET\\assembly 是.Net Framework 4 GAC在此位置%windir%\\ Microsoft.NET \\ assembly

See here Where is the .NET Framework Global Assembly Cache? 请参阅此处.NET Framework全局程序集缓存哪里?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM