dotnet/runtime

ilverify fails with various file not found errors

Open

#54.110 geöffnet am 12. Juni 2021

Auf GitHub ansehen
 (9 Kommentare) (1 Reaktion) (1 zugewiesene Person)C# (5.445 Forks)batch import
Priority:3area-Tools-ILVerificationhelp wanted

Repository-Metriken

Stars
 (17.886 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)

Beschreibung

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'

Contributor Guide