WindowsSdkDir vs WDKContentRoot
I'm using VS2019 and WDK 10, WindowsSdkDir is automatically set while WDKContentRoot not. Could we add some kine of fallback to WindowsSdkDir?
I'm not sure I understand the problem. Could you describe it a little bit more? WDK is still in C:/Program Files*/Windows Kits/10 nevertheless what version of Visual Studio you use.
I'm using WDK installed in custom location, namely C:/Kits/10, and after running C:\Program Files(x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (I think most person would run it before using msvc), the environment variable WindowsSdkDir would properly set to C:/Kits/10, while WDKContentRoot not
@clouds56 Could you make a separate PR for it?