WDK extension fails installation on Visual Studio 2022 version 17.11

Elder 20 Reputation points
2024-08-20T06:41:09.2+00:00

I've been trying to install the WDK extension on Visual Studio 2022, version 17.11.
I've tried installing it both from the marketplace as using the procedure in this link: https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk, but in both situations the installation fails and on the log appears the following error message:

Installation of Component.Microsoft.Windows.DriverKit failed. The extension has a lower version than required by Visual Studio. Please install the extension from Visual Studio Installer instead.

I've tried with SDK and WDK builds 10.0.26100.1 and 10.0.22621.2428 to no success.

The computer is currently running Windows 11 version 23H2 build 22631.3880.

Any help would be greatly appreciated.

Regards,
Elder

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
212 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
92 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 28,661 Reputation points Microsoft Vendor
    2024-08-20T09:18:31.37+00:00

    Hi @Elder, 

    Welcome to Microsoft Q&A! 

    Please try to install WDK by opening the Visual Studio Installer > Individual components tab > search "Windows Driver Kit"

    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.

    5 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. 军 杨 0 Reputation points
    2024-09-17T01:25:06.28+00:00

    2024/9/17 9:20:59 - 安装 Component.Microsoft.Windows.DriverKit 失败。该扩展的版本比 Visual Studio 要求的版本低。请改为从 Visual Studio 安装程序安装扩展。

    2024/9/17 9:20:59 - 安装错误: System.InvalidOperationException: 安装 Component.Microsoft.Windows.DriverKit 失败。该扩展的版本比 Visual Studio 要求的版本低。请改为从 Visual Studio 安装程序安装扩展。

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.