--- a/src/ui/Windows/configure-12.vbs
+++ b/src/ui/Windows/configure-12.vbs
@@ -184,6 +184,10 @@
 objOutputFile.WriteLine("      <Value>$(WXDIR)</Value>")
 objOutputFile.WriteLine("      <EnvironmentVariable>true</EnvironmentVariable>")
 objOutputFile.WriteLine("    </BuildMacro>")
+objOutputFile.WriteLine("    <BuildMacro Include=""WDKDIR"">")
+objOutputFile.WriteLine("      <Value>$(WDKDIR)</Value>")
+objOutputFile.WriteLine("      <EnvironmentVariable>true</EnvironmentVariable>")
+objOutputFile.WriteLine("    </BuildMacro>")
 objOutputFile.WriteLine("  </ItemGroup>")
 objOutputFile.WriteLine("</Project>")