Describe the issue
I have tried used the example but I am getting the below error when I try to register the USB factory.
CS1061 'FilterDeviceDefinition' does not contain a definition for 'CreateWindowsUsbDeviceFactory' and no accessible extension method 'CreateWindowsUsbDeviceFactory' accepting a first argument of type 'FilterDeviceDefinition' could be found (are you missing a using directive or an assembly reference?)
Also if I try adding the 'using Usb.Net.Windows;' I also get the below error
CS0246 The type or namespace name 'Usb' could not be found (are you missing a using directive or an assembly reference?)
I am trying to do this in the MAUI, but a couple of weeks ago I managed to get it working fairly easily but I can't for the life of me remember how and unfortunately I have lost the code, due to computer problems and not pushing to me github.
Describe the issue I have tried used the example but I am getting the below error when I try to register the USB factory.
CS1061 'FilterDeviceDefinition' does not contain a definition for 'CreateWindowsUsbDeviceFactory' and no accessible extension method 'CreateWindowsUsbDeviceFactory' accepting a first argument of type 'FilterDeviceDefinition' could be found (are you missing a using directive or an assembly reference?)
Also if I try adding the 'using Usb.Net.Windows;' I also get the below error CS0246 The type or namespace name 'Usb' could not be found (are you missing a using directive or an assembly reference?)
I am trying to do this in the MAUI, but a couple of weeks ago I managed to get it working fairly easily but I can't for the life of me remember how and unfortunately I have lost the code, due to computer problems and not pushing to me github.
Screenshots