如何在 Windows 10 上安装检查工具?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34760513/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:24:52  来源:igfitidea点击:

How to install the Inspect tool on Windows 10?

windowsdebuggingwindows-10

提问by Keshav Madan

Is Inspecta part of the Windows 10 standalone SDK?

检查在Windows 10的独立SDK的一部分吗?

Is there any alternative application to "inspect" for windows 10? I want to install "inspect" tool on my machine running windows 10 build 10586 (for testing purpose). According to Inspect documentation on MSDN it is not described if it is a part of win 10 sdk also or only upto win 8.1. Also is there any alternative tool for "Inspect" to debug on windows 10?

是否有其他应用程序可以“检查”Windows 10?我想在运行 Windows 10 build 10586(用于测试目的)的机器上安装“检查”工具。根据 MSDN 上的 Inspect 文档,没有描述它是否也是 win 10 sdk 的一部分,或者仅适用于 win 8.1。在 Windows 10 上还有用于“检查”调试的其他工具吗?

回答by raffaem

Since 10.0.15063 the directory of the tools has changed. See the changelog:

自 10.0.15063 以来,工具目录已更改。查看变更日志:

To improve the developer experience, tools and metadata will lay down in versioned folders. This will allow developers to isolate the SDK and tools between releases.

为了改善开发人员体验,工具和元数据将放置在版本化文件夹中。这将允许开发人员在不同版本之间隔离 SDK 和工具。

You have to put the version of the Windows SDK between binand x64(or x86or arm)

您必须将 Windows SDK 的版本放在binx64(或x86arm)之间

For me inspectis in the folder C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64

对我来说inspect是在文件夹中C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64

The folder C:\Program Files (x86)\Windows Kits\10\bin\x64(without the SDK version) exists, but does not contain the inspecttool.

该文件夹C:\Program Files (x86)\Windows Kits\10\bin\x64(不含 SDK 版本)存在,但不包含该inspect工具。

Needed Components for "Inspect":

“检查”所需的组件:

Needed Components for "Inspect"

“检查”所需的组件

回答by jmbpiano

Inspect is, indeed, included in the Windows 10 "standalone SDK" available from Microsoft here. Note the installer stub allows you to download several "features" (additional toolkits and utility packages) besides the Windows SDK proper. If all you want is Inspect, you can save yourself downloading about 300MB (650MB installed) of unnecessary packages by deselecting everything except "Windows Software Development Kit":

Inspect 确实包含在 Microsoft此处提供的 Windows 10“独立 SDK”中。请注意,除了 Windows SDK 本身之外,安装程序存根还允许您下载多个“功能”(附加工具包和实用程序包)。如果您想要的只是检查,您可以通过取消选择除“Windows 软件开发工具包”之外的所有内容来节省下载大约 300MB(安装 650MB)的不必要软件包:

SDK Feauture Selection Window

SDK 功能选择窗口

As for an alternative to Inspect, this answersuggests Windows Detective. Not having used the tool, I can't speak personally to its safety or suitability for the purpose, so caveat emptor, YMMV, May the Force Be With You and all that.

至于 Inspect 的替代方案,此答案建议使用Windows Detective。没有使用过该工具,我无法就其安全性或为此目的的适用性发表个人意见,因此请注意空运者,YMMV,愿原力与您同在等等。

回答by Adam Goodwin

If you are using Visual Studio 2017, you can also install Inspect via the Visual Studio Installer.

如果您使用的是 Visual Studio 2017,还可以通过 Visual Studio 安装程序安装 Inspect。

All you need is to install the following feature, or a later version:

您只需要安装以下功能或更高版本:

Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS

适用于 UWP 的 Windows 10 SDK (10.0.15063.0):C#、VB、JS

Visual Studio Installer

Visual Studio 安装程序

After doing that you should find inspect.exe in the following location:

完成后,您应该在以下位置找到inspect.exe:

C:\Program Files (x86)\Windows Kits\10\bin\<version>\x64

C:\Program Files (x86)\Windows Kits\10\bin\<version>\x64

回答by Shailendra

In windows 10, Inspect.exe is available at C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\arm64.

在 Windows 10 中,Inspect.exe 位于C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\arm64.

回答by Dirk Vollmar

If you can't find the tool in the Windows 10 SDK, you should be able to download and install the Windows 8.1 SDK from the SDK archive page:

如果您在 Windows 10 SDK 中找不到该工具,您应该可以从 SDK 存档页面下载并安装 Windows 8.1 SDK:

Windows and Windows Phone SDK archive

Windows 和 Windows Phone SDK 存档

回答by user11571674

Inspect is available here: C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64. Based on version changes you can find it in one of the versions under the x64folder.

检查可在此处获得:C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64。根据版本更改,您可以在x64文件夹下的版本之一中找到它。