.net中dll的强名称 [英] strong name for a dll in .net
问题描述
Dll如果有
- 没有扩展名的程序集名称
- 版本
- 文化
- 公钥
应为dll提供一个强名.我发现 csc.exe
(对于C#)和 al.exe
都可以用来为dll提供强名称.当我必须使用 csc.exe
和 al.exe
为dll提供强名称吗?
A strong name shall be provided for a dll. I found that either csc.exe
(in case of C#) and al.exe
can use used to provide the strong name to the dll. When I have to use csc.exe
and al.exe
to provide the strong name for the dll?
除了对dll进行签名之外, al.exe
的用途是什么?
What are the uses of al.exe
apart from signing the dll?
除了对dll进行签名以外,al.exe还用于创建发布者策略程序集.
Apart from signing a dll, al.exe also used to create publisher policy assembly.
推荐答案
csc.exe 是csharpcompiler.
csc.exe is csharpcompiler.
al.exe 是程序集链接器.
这些链接说明了它们的执行情况,这将使您了解何时使用它们或每个可执行文件的执行情况.
The links explains what they perform and that would give you an idea of when to use either or what each executable performs.
这篇关于.net中dll的强名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!