Trying to run .Net Core app with Mono on Raspberry Pi Zero W (as you know, .Net Core JIT is not support the ARMv6 processor instructions) and I've got error all time:

Cannot open assembly '#assembly_name#': File does not contain a valid CIL image.

Looks like Mono isn't support .Net Core.
So, is there any way to run .Net Core apps on Raspberry Pi Zero (maybe without Mono with something else)?

  • You may have to spend the extra $30 and buy a full sized Pi. I know that will run Windows IoT and will handle Mono stuff just fine. Remember, the versions of Linux that are on the Pi are reduced instruction set versions. If you need the small format of the Zero, I'd suggest writing your code in Python, Java or C(/C++). Sep 25 '17 at 18:01

You can't run .Net core apps on a arm32v6 cpu at the moment. But if you rewrite your app in normal .net then you can use mono to run it on your pi zero

  • Yep I know that I can rewrite my app. And yep I know that I can't run .Net Core apps for now. I'm just waiting for the solution
    – MihailPw
    Feb 18 '18 at 10:14
  • Currently I don't think there is any other solution.
    – Peter
    Feb 18 '18 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.