我希望能够使用Mono编译一个c#控制台应用程序,以便它可以在Raspberry Pi Zero上运行。我想在Windows计算机上执行此操作。然后,我要将二进制文件复制/ ssh到Pi Zero,然后运行它。
我已经做了以下事情:
是否可能需要在目标框中使用Mono工具链?
答案 0 :(得分:2)
If your Pi Zero is all set up, then just compiling on your Windows machine with "Any CPU" setting (rather than targeting x86/x64) should do the trick, as it's just IL at that point; it gets JITted on the Pi by the Mono runtime to ARM assembly.