简体   繁体   English

如果程序集在GAC中,那么它调用的所有程序集也必须在GAC中吗?

[英]If an assembly is in the GAC, do all assemblies that it calls have to be in the GAC too?

问题就是这一切。

An assembly in the GAC does not know about the private locations of your private assemblies. GAC中的程序集不知道私有程序集的私有位置。 It is only aware about the GAC itself. 它只知道GAC本身。 So it can refer to the assemblies that are available in the GAC only 因此,它可以仅指GAC中可用的程序集

否 - GAC是您放置特别希望在全球范围内可用的程序集的地方。

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

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