Fez Flea USB Client

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?

I can confirm that downgrading the firmware on the Fez Flea did not fix the problem.

Here are my references.

Just a little more info here. The code compiles and deploys without problem to the FEZ Feather. Obviously my pins aren’t setup correctly for pin-outs but it does compile. I did change the pin-out for the LED and it flashes as expected before I exit out of the logic.

Erase all then load firmware again. There is a known issue on SC13xxx about it, I think.

I had the same issue. It proved to be the firmware mismatch: 2.3.0.2 on the software and 2.3.0.1.
Erased (not just upgrading, erase) the firmware, then load it again using the same version as in the project and then all went ok.