Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 568 Bytes

signing.md

File metadata and controls

17 lines (12 loc) · 568 Bytes

Signing Lokad.ILPack

In .NET 5+, strong naming is not about security or authority: it's only about identity. Thus, the Lokad.ILPack.snk gets included into the repository.

More information: https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming

Checking that a DLL is strong-named

Use the following function against the .dll file of interest:

function Get-AssemblyStrongName($assemblyPath)
{
    $fullpath = Convert-Path $assemblyPath
    [System.Reflection.AssemblyName]::GetAssemblyName($fullpath).FullName
}```