Assembly deployment issue

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

When I deploy I receive an error a3000000 saying Spi needs assembly Gpio.

Looking at the Deployment log it’s definitely attempting to deploy both assemblies

But after deployment the Gpio assembly is missing from the list in TinyCLR Config

Has anyone seen anything like this? I’ve tried deploying 2 different projects with the same assemblies and I’m getting similar results in each.

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?

They’re all on the same version

image

Try reloading the firmware on the device…

Did that too :person_shrugging:

Download a new copy of the firmware from GHI?

Yeah, just before reloading it.

Create a new solution/project and see if it loads… Then add the code from the old project to the new project.

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.

Thanks for you help guys!

2.3.0.1000 is compatible to 2.3.0.2000. The right 4 numbers (1000 or 2000) just fix bug, not change checksum.

I think somehow you did erase all and it work, this is an issue on SC13 or FEZ Flea.