title: Device driver does not install on any devices, use primitive driver if this is intended in Visual studio 2019?
body: <p>I upgraded my Visual Studio from 2017 to 2019, and it seems like they have made some fantastic changes to visual studio in the latest version because i did not have this problem in VS 2017, Even compiling simple hello world drivers that you can find anywhere no longer compile and they give the following error:</p>
  <pre><code>Device driver does not install on any devices, use primitive driver if this is intended
  </code></pre>
  <p>It seems like it is related the default INF file :</p>
  <p><a href="https://github.com/MicrosoftDocs/windows-driver-docs/issues/2067" rel="nofollow noreferrer">https://github.com/MicrosoftDocs/windows-driver-docs/issues/2067</a></p>
  <p>but the answers there were useless and non of the changes mentioned for the INF file helped, this is my INF file which is the default INF on VS 2019 :</p>
  <pre><code>;
  ; HelloWorld.inf
  ;
  
  [Version]
  Signature=&quot;$WINDOWS NT$&quot;
  Class=System
  ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
  Provider=%ManufacturerName%
  DriverVer=
  CatalogFile=HelloWorld.cat
  PnpLockDown=1
  
  [DestinationDirs]
  DefaultDestDir = 12
  
  
  [SourceDisksNames]
  1 = %DiskName%,,,&quot;&quot;
  
  [SourceDisksFiles]
  
  
  [Manufacturer]
  %ManufacturerName%=Standard,NT$ARCH$
  
  [Standard.NT$ARCH$]
  
  
  [Strings]
  ManufacturerName=&quot;&lt;Your manufacturer name&gt;&quot; ;TODO: Replace with your manufacturer name
  ClassName=&quot;&quot;
  DiskName=&quot;HelloWorld Source Disk&quot;
  </code></pre>
  <p>How should i change it?</p>