I am running into a problem with getting USB client working on the FEZ Flea. As soon as I add the class that I am using to interface with the KB I get the Cannot find any entrypoint. I don’t even need to reference the class. Just its presence in the project does that. The last statement can be proven by setting the compile action to none in VS.
I have another class that just references the Key class from GHIElectronics.TinyCLR.Devices.Usb and if I set that compile method to none, it compiles and connects. If I don’t I get the following error. Also, don’t need to reference the class any where. The presence of the file causes it.
Link failure: some assembly references cannot be resolved!!
Assembly: XXXXXXXX (1.0.0.0) needs assembly ‘GHIElectronics.TinyCLR.Devices.Usb’ (2.3.0.1000)
I do have the Nuget package for GHIElectronics.TinyCLR.Devices.Usb and GHIElectronics.TinyCLR.Devices.UsbClient.
My firmware is 2.3.0.2000. Is this causing the problem?
What am I missing?