dotnet/runtime

[ILVerify] BadImageFormatGeneric when verifying a .netmodule

Open

#37,396 opened on Jan 15, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
Priority:3area-Tools-ILVerificationhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

Calling ILVerify.exe for a .netmodule results in a BadImageFormatGeneric error. e.g.

ILVerify.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.EnterpriseServices.Wrapper.dll" -r "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll"

results in:

Error: [TEMPORARY EXCEPTION MESSAGE] BadImageFormatGeneric:

Contributor guide