Visual Studio 2019 kernel mode driver projects stopped generating .sys files.

Jack Melville 1 Reputation point

Visual Studio 2019 kernel mode driver projects stopped generating .sys files. On a project folder previously built with VS2019 I delete the x86 and x64 output folders and build again. Obj files are built but the only linker output file present is vc142.pdb. The first error seen is from signtool when it tries to sign the .sys file.

The link.write.1.tlog file shows the files being written:


This happens on 2 systems. I tried updating VS2019, same result. I haven't tried to build a driver for about 2 months, it worked on 11/17/2020 with the same folder on the same computers.

Jack Melville

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,682 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points

    Hi JackMelville,

    Please try to delete the .vs folder, then start visual studio and rebuild your project. And check if the generated files exist in the release folder which next to sln file. 60501-image.png Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**