Where can I download PEVerify.exe tool?
Asked Answered
B

5

12

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.

Bel answered 16/12, 2009 at 15:0 Comment(0)
R
18

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

Resiniferous answered 16/12, 2009 at 15:11 Comment(0)
G
5

(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:

  • C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\PEVerify.exe
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\x64\PEVerify.exe
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\PEVerify.exe
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\PEVerify.exe
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\PEVerify.exe
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\PEVerify.exe
Gyrus answered 8/6, 2021 at 5:52 Comment(0)
Y
3

It's part of the .NET Framework SDK.

SDK for 1.1 (x86)

SDK for 2.0 (x86)

SDK for 3.0 (ISO)

SDK for 3.5 (ISO)

Yeanling answered 16/12, 2009 at 15:5 Comment(0)
G
0

PEVerify.exe Tool is part of the .NET Framework Tools. You can download the 2.0 SDK here (354 MB): http://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec

Edit1: Or like Oliver said - go to your Visual Studio command prompt.

Gratifying answered 16/12, 2009 at 15:4 Comment(0)
O
0

C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin

Outcry answered 16/12, 2009 at 15:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.