microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.99k stars 4.94k forks source link

Building XPSDrvSmpl VS Code 2019 Enterprise and Unable to install .INF #902

Open mkhalid578 opened 1 year ago

mkhalid578 commented 1 year ago

Visual Studio Version 16 VisualStudioVersion = 16.0.33328.57

Windows Driver Kit - Windows 10.0.19041.685 Windows SDK - 10.0.19041.685

I am able to build the XPSDrvSmpl for x64 but I am unable to install the driver. These are the steps that I take to install the driver:

I get the following error: image

Does anyone how to get around this or the correct steps for deploying and testing a driver on your local machine. Any help is appreciated - thanks!

mamanian commented 1 year ago

Hi Khalid,

Can you try using the latest version of the tools on Win11. https://learn.microsoft.com/en-us/windows-hardware/drivers/what-s-new-in-driver-development

mkhalid578 commented 1 year ago

Can you try using the latest version of the tools on Win11. https://learn.microsoft.com/en-us/windows-hardware/drivers/what-s-new-in-driver-development

I am on Windows 10 and can only support Windows 10 based systems

Anton-V-K commented 1 year ago

@mkhalid578 , were you able to resolve the issue somehow?

mkhalid578 commented 1 year ago

@Anton-V-K Unfortunately, no