I ran into an InvalidProgramException. This article:
http://support.microsoft.com/kb/312544/en-us
Suggests I run PEVerify.exe, but I can't seem to find it. Do you know where I can get it from?
Thanks.
(Answer for 2021)
PEVerify.exe
does not currently support .NET Core assemblies - only .NET Framework (1.0 through 4.8) assemblies. Microsoft has hinted that they'll add support back eventually but don't hold your breath. (I'm unsure about .NET Standard assemblies, though I assume they'll work as they can be loaded by .NET Framework programs fine).
The PEVerify.exe
tool is no-longer part of the .NET SDK either, but it is now part of the Windows SDK or a typical Visual Studio 2019 installation, including for Windows 10, so you can find it in these locations:
If you installed Visual Studio. Just open a Visual Studio 2008 Command Prompt (Startmenu - Programs - Visual Studio - Visual Studio Tools - Command Prompt) and enter PEVerify.exe
The path on your PC should be: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\PEVerify.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With