LanguageDev / Yoakke

A collection of libraries for implementing compilers in .NET.
Apache License 2.0
141 stars 8 forks source link

Strong naming #146

Closed WhiteBlackGoose closed 2 years ago

WhiteBlackGoose commented 2 years ago

Why? Because many projects rely on strong naming, which, in turn, requires all its dependencies to be strongly named. So if it's strongly named, more users can use it.

WhiteBlackGoose commented 2 years ago

Script to sign automatically:

$list = (Get-ChildItem -Recurse -File -Path './Yoakke/Sources' -Filter '*.csproj').FullName

foreach ($file in $list)
{
    $filePath = (Get-Item $file).Directory
    $keyPath = Join-Path -Path $filePath -ChildPath "key.snk"
    sn -k "$keyPath"
}