dotnet/runtime

ilverify fails with various file not found errors

Open

#54,110 建立於 2021年6月12日

在 GitHub 查看
 (9 留言) (1 反應) (1 負責人)C# (5,445 fork)batch import
Priority:3area-Tools-ILVerificationhelp wanted

倉庫指標

Star
 (17,886 star)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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'

貢獻者指南