I’m trying to deploy a project with VS22 to a FEZ Flea on firmware 2.3.0.1000. The Project references GHIElectronics.TinyCLR Assemblies:
Devices.Gpio
Devices.Spi
Native
Pins
This error usually means there is a a level mismatch between the firmware installed on the device and the TinyClr library being used. Update the nuget modules?
Occasionally, the VS or nuget cache can get poisoned with a dll from an incorrect platform or .net sdk version. Here are some ways to fully flush all of those caches : Visual Studio Project Issue - #2 by mcalsyn
Finally got it. My boards shipped with 2.3.0.2000. I had to erase all, restart TInyCLR Config, the reflash with 2.3.0.1000 before it would deploy all assemblies correctly. For some reason the restart of the config app between the erase and flash was critical. Verified with 2 different FEZ Fleas.