WDK for Win11 extension installation for VS2022 failed

XuGuo Liu 15 Reputation points
2023-04-16T14:59:26.2033333+00:00
2023/4/16 22:52:15 - Microsoft VSIX Installer
2023/4/16 22:52:15 - -------------------------------------------
2023/4/16 22:52:15 - vsixinstaller.exe version:
2023/4/16 22:52:15 - 17.5.4074+g1de9468fa7
2023/4/16 22:52:15 - -------------------------------------------
2023/4/16 22:52:15 - Command line parameters:
2023/4/16 22:52:15 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,/a,C:\Program Files (x86)\Windows Kits\10\Vsix\VS2022\10.0.22621.0\WDK.vsix,/callingprocessid:5564,/installas:2824
2023/4/16 22:52:15 - -------------------------------------------
2023/4/16 22:52:15 - Microsoft VSIX Installer
2023/4/16 22:52:15 - -------------------------------------------
2023/4/16 22:52:19 - Initializing Install...
2023/4/16 22:52:20 - 扩展详细信息...
2023/4/16 22:52:20 - 	Identifier         : Microsoft.Windows.DriverKit
2023/4/16 22:52:20 - 	Name               : Windows Driver Kit
2023/4/16 22:52:20 - 	Author             : Microsoft Corporation
2023/4/16 22:52:20 - 	Version            : 10.0.22621.0
2023/4/16 22:52:20 - 	Description        : A set of extensions that integrates Windows Driver development into Visual Studio.
2023/4/16 22:52:20 - 	Locale             : en-US
2023/4/16 22:52:20 - 	MoreInfoURL        : 
2023/4/16 22:52:20 - 	InstalledByMSI     : False
2023/4/16 22:52:20 - 	SupportedFrameworkVersionRange : [4.7,)
2023/4/16 22:52:20 - 	SignatureState     : ValidSignature
2023/4/16 22:52:20 - 	SignedBy           : Microsoft Corporation
2023/4/16 22:52:20 - 	Certificate Info   : 
2023/4/16 22:52:20 - 		-------------------------------------------------------
2023/4/16 22:52:20 - 		[Subject]       : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
2023/4/16 22:52:20 - 		[Issuer]        : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
2023/4/16 22:52:20 - 		[Serial Number] : 3300000464961666FD3445B10C000000000464
2023/4/16 22:52:20 - 		[Not Before]    : 2021/9/3 2:26:31
2023/4/16 22:52:20 - 		[Not After]     : 2022/9/2 2:26:31
2023/4/16 22:52:20 - 		[Thumbprint]    : 4E6167417BC954B1F6BEB22EFE58F0C2824800AD
2023/4/16 22:52:20 - 	支持的产品              : 
2023/4/16 22:52:20 - 		Microsoft.VisualStudio.Community
2023/4/16 22:52:20 - 			Version : [17.0,18.0)
2023/4/16 22:52:20 - 			ProductArchitecture : amd64
2023/4/16 22:52:20 - 		Microsoft.VisualStudio.Pro
2023/4/16 22:52:20 - 			Version : [17.0,18.0)
2023/4/16 22:52:20 - 			ProductArchitecture : amd64
2023/4/16 22:52:20 - 		Microsoft.VisualStudio.Enterprise
2023/4/16 22:52:20 - 			Version : [17.0,18.0)
2023/4/16 22:52:20 - 			ProductArchitecture : amd64
2023/4/16 22:52:20 - 	引用                 : 
2023/4/16 22:52:20 - 		-------------------------------------------------------
2023/4/16 22:52:20 - 		Identifier   : Microsoft.VisualStudio.MPF
2023/4/16 22:52:20 - 		Name         : Visual Studio MPF
2023/4/16 22:52:20 - 		Version      : [11.0,12.0)
2023/4/16 22:52:20 - 		MoreInfoURL  : 
2023/4/16 22:52:20 - 		Nested       : No
2023/4/16 22:52:20 - 	系统必备               : 
2023/4/16 22:52:20 - 		-------------------------------------------------------
2023/4/16 22:52:20 - 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
2023/4/16 22:52:20 - 		Name         : Visual Studio core editor
2023/4/16 22:52:20 - 		Version      : [17.0,18.0)
2023/4/16 22:52:20 - 签名详细信息...
2023/4/16 22:52:20 - 	Extension is signed with a valid signature.
2023/4/16 22:52:20 - 正在搜索适用的产品...
2023/4/16 22:52:20 - 找到的已安装产品 - Visual Studio Community 2022
2023/4/16 22:52:20 - 找到的已安装产品 - 全局位置
2023/4/16 22:52:21 - VSIXInstaller.NoApplicableSKUsException: 此扩展不能安装在任何当前安装的产品上。
   在 VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   在 VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   在 VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   在 VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   在 VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   在 VSIXInstaller.App.Initialize()
   在 System.Threading.Tasks.Task`1.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,672 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,369 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Wade Dawson 121 Reputation points
    2023-05-18T21:09:19.0166667+00:00

    I am having the exact same failure log. I'm trying to to install the WDK 22H2 to Win11 armx64 (Insider preview) running msvc 17.6 arm64.

    Is this supported?

    1 person found this answer helpful.

  2. Francisco Ribeiro 10 Reputation points
    2023-07-01T20:00:29.1266667+00:00

    Same problem.

    Running WDK.vsix from its location did not help - same error.

    thanks

    1 person found this answer helpful.

  3. Anna Xiu-MSFT 26,481 Reputation points Microsoft Vendor
    2023-04-17T05:56:18.0466667+00:00

    Hi @XuGuo Liu

    Welcome to Microsoft Q&A! 

    Please try to run the WDK.vsix file from this location: C:\Program Files (x86)\Windows Kits\10\Vsix\VS2022\10.0.22621.0\WDK.vsix

    Besides, you need to check the following:

    1. Install workload with Visual Studio 2022: Desktop development with C++.
    2. For Arm64 driver, you must additionally install the latest version of MSVC: Individual components > Compilers, build tools, and runtimes > Visual C++ compilers and libraries for Arm64.
    3. Install Windows SDK.

    For more details, please refer to: Download the Windows Driver Kit (WDK). 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.