Use the official Microsoft installer and check or verify for driver templates in visual studio as far i am concern WDK is not installed via NuGet. this is the link of YouTube for better understanding and accomplish your task : https://youtu.be/HFobGp7VZeA?si=Sr1aIDW75DzqbQM0. I hope this really helps!