3

Dll is said to be have strong name, if it has

  1. Assembly name without extension
  2. Version
  3. culture
  4. Public key

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?

What are the uses of al.exe apart from signing the dll?

Apart from signing a dll, al.exe also used to create publisher policy assembly.

Raghav55
  • 3,055
  • 6
  • 28
  • 38

3 Answers3

1

it's Assembly Linker

It generates a file with an assembly manifest from one or more files that are either modules or resource files

Stecya
  • 22,896
  • 10
  • 72
  • 102
1

csc.exe is csharpcompiler.

al.exe is assembly linker.

The links explains what they perform and that would give you an idea of when to use either or what each executable performs.

Rajesh
  • 7,766
  • 5
  • 22
  • 35
0

In order to have a strong name, you must signed your dll using a snk file. You can for example do it via Visual Studio or via msbuild .

Poca
  • 41
  • 4