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'

贡献者指南