2
votes

I already have Visual Studio 2017 professional with Desktop Development with C++ installed.

I am trying to build the Virtual Serial project found here: https://github.com/Microsoft/Windows-driver-samples/tree/master/serial/VirtualSerial

When I try to build it, I get the error: Severity Code Description Project File Line Suppression State

Error   MSB8020 The build tools for WindowsUserModeDriver10.0 (Platform Toolset = 'WindowsUserModeDriver10.0') cannot be found. To build using the WindowsUserModeDriver10.0 build tools, please install WindowsUserModeDriver10.0 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".   virtualserial   C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets  

I cannot find any instructions on installation aside from this website.

https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk

I downloaded the WDK for Windows 10, version 1803. I closed VS2017 and ran the installer.

When running the installer I got the message in the screenshot below, I clicked Next to continue installing

After running the installer, the project still does not build, with the same error: WindowsUserModeDriver10.0 is not installed.

What am I missing during installation? Is this the correct installer for regular VS2017 (not community edition)?

Thanks,

enter image description here

1
have you installed the Win10 17134 SDK, too? - magicandre1981

1 Answers