How to create an application using Azure IoT SDKs on Mono?

Hi guys!

I am trying to develop a C# application on Mono using the Azure IoT SDKs. It works well on Ubuntu, however when I try to run it on my Colibri VF61 I got the following error:

Can't find custom attr constructor image: /home/root/ProjectName/ProjectName/bin/8
* Assertion at class.c:5695, condition '!mono_loader_get_last_error ()' not met


Native stacktrace:

Debug info from gdb:

Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.


And I am stuck on that. Has anyone ever tried to do something like that?

We have tested Mono with the Azure IoT Device SDK on Colibri VF modules. If you haven’t already, I recommend referring to the Azure IoT Device SDKs for Linux article on our developer site - in particular the “C# for Mono” section.

Can you share your code? Perhaps there are missing dependencies.