-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ILVerify throws System.BadImageFormatException on invoke #71688
Comments
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsDescriptionWhen ILVerify is invoked it throws Reproduction Steps
Expected behaviorWork Actual behaviorUnhandled exception. System.BadImageFormatException: Could not load file or assembly '~/.dotnet/tools/.store/dotnet-ilverify/6.0.0/dotnet-ilverify/6.0.0/tools/net6.0/any/ILVerify.dll'. An attempt was made to load a program with an incorrect format. Regression?No response Known WorkaroundsNo response Configuration.NET SDK (reflecting any global.json): Runtime Environment: Host (useful for support): .NET SDKs installed: .NET runtimes installed: Other informationNo response
|
Duplicate of #70508 |
Description
When ILVerify is invoked it throws
Unhandled exception. System.BadImageFormatException: Could not load file or assembly '~/.dotnet/tools/.store/dotnet-ilverify/6.0.0/dotnet-ilverify/6.0.0/tools/net6.0/any/ILVerify.dll'. An attempt was made to load a program with an incorrect format.
Reproduction Steps
Expected behavior
Work
Actual behavior
Unhandled exception. System.BadImageFormatException: Could not load file or assembly '~/.dotnet/tools/.store/dotnet-ilverify/6.0.0/dotnet-ilverify/6.0.0/tools/net6.0/any/ILVerify.dll'. An attempt was made to load a program with an incorrect format.
Regression?
No response
Known Workarounds
No response
Configuration
.NET SDK (reflecting any global.json):
Version: 6.0.301
Commit: 43f9b18481
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.4
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.301/
Host (useful for support):
Version: 6.0.6
Commit: 7cca709
.NET SDKs installed:
6.0.203 [/usr/local/share/dotnet/sdk]
6.0.300 [/usr/local/share/dotnet/sdk]
6.0.301 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other information
No response
The text was updated successfully, but these errors were encountered: