You can see the complete solution as here.
https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
- Install Visual Studio 2019
- Install Windows SDK 10.0.22000.0 from Visual Studio Installer
- Download and Install Windows 11 WDK
This procedure will automatically start the VSIX installation.
Note. If you can't find driver project templates in Visual Studio, the WDK Visual Studio extension didn't install properly. To resolve this, run the WDK.vsix file from this location: C:\Program Files (x86)\Windows Kits\10\Vsix\VS2019\WDK.vsix.