它是更好地注册的DLL到GAC或bin文件夹中引用它们的ASP.NET它是、它们的、文件、更好地

2023-09-03 21:20:19 作者:过来我怀里

如果答案是看情况,你能提供一个简短说明理由?

and if the answer is "it depends", could you provide a short explanation why ?

推荐答案

GAC是指以包含跨多个应用程序共享程序集。如果是这样的话,你应该强命名大会,并与GAC。 如果没有,保持装配为私有程序集和引用它作为项目/ dll引用。

GAC is meant to contain assemblies that are shared across multiple applications. If that is the case, you should strong-name the assembly and register it with the GAC. If not, keep the assembly as a private assembly and reference it as a project/dll reference.

PS:没有真正得到你的问题的bin文件夹的一部分参考 - 这bin文件夹中是这样的。

PS: Didn't really get the reference from bin folder part of your question - which bin folder is this?