如何共享程序集 [英] How to Share an assembly
本文介绍了如何共享程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
上周我参加了一次采访.采访者问我一个问题如何在.net应用程序中共享程序集?".谁能帮我找出解决这个问题的方法....
谢谢.
Hello Guys,
I attended an interview on a last week. Interviewer asked me a question "How to share an assembly in a .net application?". Can anyone help me please to find out the solution of this question....
Thanks.
推荐答案
由于问题不只是朦胧的,我想面试官想暗示将.NET程序集放入 GAC [ strong (strong name) [
Since the question is more than hazy, I''d guess the interviewer wanted to allude to the possibility of placing .NET assemblies into the GAC[^], to make them accessible from more than one application. The wording is a bit off from my perspective.
An assembly that will be put into the GAC must have a strong name[^].
Regards,
— Manfred
@OriginalGriff和@Manfred,你们是正确的.
在寻找一个答案时,我发现 .NET面试问题-如何共享程序集? [ ^ ]
谢谢...
@OriginalGriff and @Manfred, you guys are correct.
While searching for one answer, I found .NET Interview Questions - How to share an assembly?[^]
Thanks...
使用GACUTIL -i安装DLL.
在那之前签名组装...
谢谢
Raghu
Hi,
Install the DLL using GACUTIL -i.
Before that sign the assembly...
Thanks
Raghu
这篇关于如何共享程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文