C# GAC(全局程序集缓存)位于何处?它是如何有用的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19029808/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where is GAC (Global Assembly Cache) located? How it is Useful?
提问by Sivam
I read more about GAC but i am not clear till now.
我阅读了更多关于 GAC 的信息,但直到现在我还不清楚。
Few things what i gathered is, GAC has same assembly with different versions. But i cannot able to find how to create two assembly with different versions and keeping in same folder.
我收集到的东西很少,GAC 具有不同版本的相同程序集。但是我无法找到如何创建两个具有不同版本并保存在同一文件夹中的程序集。
采纳答案by Flea777
It is located in %windir%\assembly (for example, C:\WINDOWS\assembly) and it is a shared repository of libraries.
它位于 %windir%\assembly(例如,C:\WINDOWS\assembly)中,它是库的共享存储库。