Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WDK and SDK mismatch #12

Open
akarasulu opened this issue May 27, 2019 · 3 comments
Open

WDK and SDK mismatch #12

akarasulu opened this issue May 27, 2019 · 3 comments

Comments

@akarasulu
Copy link

I downloaded and installed the VS 2019 preview and the WDK there after. I loaded the solution then ran into an error saying that the WDK version 10.0.17763.0 is not available.

The WDK version is in fact 10.0.17763.1 and the solution wants 10.0.17763.0 ... any idea of how to work around this problem? Any way to relax version requirements in the solution to handle this situation?

@Mattiwatti
Copy link
Owner

Hi,

VS 2019 (non-preview) has been released for a while and is in fact already at version 16.1, could this be the cause of the problem?

The project is set to require WDK version $(LatestTargetPlatformVersion), which means as much as 'whatever the highest locally installed version is'. This is because the project does not depend on any specific WDK version other than requiring 10.0 at minimum (8.1 might actually work but I have never tested this). MSBuild evaluates this macro to create an actual version number from it, which in your case apparently is 10.0.17763.0.

With an updated VS 2019 and the 19H1 WDK installed, $(LatestTargetPlatformVersion) should evaluate to 10.0.18362.0, not 10.0.17763.0. Not that the WDK version matters per se; as I said it should theoretically compile with any version >= 10.0. But it does indicate that something might be wrong with your VS or WDK installation.

Besides installing the preview instead of the release version of VS 2019, it's also possible that you have SDK 10.0.17763.0 installed next to WDK 10.0.18362.0, and that the macro is incorrectly evaluating to 10.0.17763.0 due to this. Because the SDK is a Visual Studio component and the WDK is not, you have to modify this using the Visual Studio installer (VS 2019 -> Modify -> Individual components -> scroll all the way down and ensure 'Windows 10 SDK (10.0.18362.0)' is checked.)

This is what my installation looks like:

vs2019_install

@zoand
Copy link

zoand commented Apr 22, 2020

Is vs2015+wdk15063 available for this project?

@Mattiwatti
Copy link
Owner

@zoand I haven't tested this combination, but it should work. I advise using VS2019 with the current (18063) WDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants