I figured the out the problem. First thing was a problem with the System.dll which I replaced with one from the WildernessLabs.Meadow.Assemblies.0.4.0. The System.Object error was gone then but it would not run. By running the with the command meadow --MonoEnable --KeepAlive
which keeps the connection open after starting. After a few seconds I got the error File does not contain a valid CIL image
. Turns out the dotnet CLI creates a executable which misses some information for mono. I looked that problem up and found that I can try mono
to build the project with the msbuild
which turned out to be the solution.
I am going to create a clean project, try it again and document everything for other Linus users.