dotnet/runtime

ilverify fails with various file not found errors

Open

#54,110 opened on 2021年6月12日

GitHub で見る
 (9 comments) (1 reaction) (1 assignee)C# (5,445 forks)batch import
Priority:3area-Tools-ILVerificationhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (平均マージ 12d 11h) (30d で 661 merged PRs)

説明

After dotnet tool update --global dotnet-ilverify --version 5.0.0, any invocation of ilverify that includes a dll (I tried several) fails with:

Error: Internal.IL.VerifierException: Assembly or module not found: mscorlib
   at ILVerify.Verifier.SetSystemModuleName(AssemblyName name)
   at ILVerify.Program.Run()
   at ILVerify.Program.Run(Options options)

The latest prerelease also fails, but with a different message:

dotnet tool install --global dotnet-ilverify --version 6.0.0-preview.4.21253.7
Error:
  An assembly specified in the application dependencies manifest (ILVerify.deps.json) was not found:
    package: 'System.Collections.Immutable', version: '5.0.0'
    path: 'lib/netstandard2.0/System.Collections.Immutable.dll'

コントリビューターガイド