VS 2022 WDK extension shows Driver Testing could not load test information

Sam 0 Reputation points
2023-09-16T15:04:01.2466667+00:00

Hi,

I am getting the following error while starting Visual Studio 2022:

Driver Testing
Could not load test information. Error: Object reference not set to an instance of an object..

I am using the following:

Windows 10

Windows SDK 10.0.22621.0

Windows Driver Kit 10.0.22621.382

I tried ignoring the error, but I can't find driver settings and some other settings under Configuration Properties

Opening Visual Studio in safe mode does not show the error. But I cannot create drivers without the extension.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,274 questions
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.
234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam 0 Reputation points
    2023-09-17T09:11:55.2833333+00:00

    It seems like the Windows Driver Kit extension does not recognize WDK if it is not installed at the default location.

    Reinstall Windows SDK and WDK to the "C" drive.


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.