在哪里可以下载 PEVerify.exe 工具?
我遇到了 InvalidProgramException。本文:
http://support.microsoft.com/kb/312544/en-us< /a>
建议我运行 PEVerify.exe,但我似乎找不到它。你知道我可以从哪里得到它吗?
谢谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
如果您安装了 Visual Studio。只需打开 Visual Studio 2008 命令提示符(开始菜单 - 程序 - Visual Studio - Visual Studio 工具 - 命令提示符)并输入 PEVerify.exe
PC 上的路径应为:
C:\Program Files\Microsoft SDKs\Windows\ v6.0A\bin\PEVerify.exe
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
(2021 年答案)
PEVerify.exe
目前不支持 .NET Core 程序集 - 仅支持 .NET Framework(1.0 到 4.8)程序集。微软已经暗示他们最终会重新添加支持,但请不要屏住呼吸。 (我不确定 .NET Standard 程序集,但我认为它们可以正常工作,因为它们可以由 .NET Framework 程序加载)。PEVerify.exe
工具也不再是 .NET SDK 的一部分,但它现在是 Windows SDK 或典型 Visual Studio 2019 安装(包括 Windows 10)的一部分,因此您可以找到它位于以下位置:(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:它是 .NET Framework SDK 的一部分。
1.1 版 SDK (x86)
SDK 2.0 (x86)
SDK for 3.0 (ISO)
SDK for 3.5 (ISO)
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)
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
PEVerify.exe 工具 是 < a href="http://msdn.microsoft.com/en-us/library/d9kh6s92(VS.71).aspx" rel="nofollow noreferrer">.NET Framework 工具。您可以在此处下载 2.0 SDK (354 MB):http://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec
Edit1:或者像奥利弗说的 - 转到 Visual Studio 命令提示符。
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.