It probably would build on 2019 as well...
The RAWHID stuff was done on 2019
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW referenced in function open_usb_device Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK2019 unresolved external symbol __imp_timeGetTime referenced in function teensy_write Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK2019 unresolved external symbol __imp_SetupDiDestroyDeviceInfoList referenced in function open_usb_device Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK2019 unresolved external symbol __imp_SetupDiEnumDeviceInterfaces referenced in function open_usb_device Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK2019 unresolved external symbol __imp_SetupDiGetClassDevsW referenced in function open_usb_device Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK2019 unresolved external symbol HidD_GetAttributes referenced in function open_usb_device Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK2019 unresolved external symbol HidD_GetHidGuid referenced in function open_usb_device Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\hid_Windows.obj 1
Error LNK1120 7 unresolved externals Teensy_loader_cli D:\Tim\downloads\Teensy_loader_cli\x64\Debug\Teensy_loader_cli.exe 1
D:\Tim\downloads\Teensy_loader_cli\Debug>Teensy_loader_cli.exe
Filename must be specified
Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v] [-f] <file.hex>
-w : Wait for device to appear
-r : Use hard reboot if device not online
-s : Use soft reboot if device not online (Teensy 3.x & 4.x)
-n : No reboot after programming
-b : Boot only, do not program
-v : Verbose output
-f : Fill memory region holes with 0s
-d : dump hex file memory ranges
Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v] [-f] <file.hex>
[B][COLOR="#FF0000"]Hello World - Defragster was here![/COLOR][/B]
-w : Wait for device to appear
-r : Use hard reboot if device not online
-s : Use soft reboot if device not online (Teensy 3.x & 4.x)
-n : No reboot after programming
-b : Boot only, do not program
-v : Verbose output
-f : Fill memory region holes with 0s
-d : dump hex file memory ranges