Skip to content
fabien-chevalley edited this page Oct 26, 2017 · 1 revision

.NET Core on Raspberry Pi

Arm32 builds are available as community supported builds for .NET Core 2.0. There is no SDK that runs on ARM32 but you can publish an application that will run on a Raspberry Pi.

These steps have been tested on a RPi 2 and RPi 3 with Linux and Windows.

Note: Pi Zero is not supported because the .NET Core JIT depends on armv7 instructions not available on Pi Zero.

  • Run dotnet publish -r linux-arm -f netcoreapp2.0 for Linux running on Raspberry Pi.

  • Under ./bin/Debug/netcoreapp2.0/linux-arm/publish you will see the whole self contained app that you need to copy to your Raspberry Pi.

Getting the app to run on the Pi.

Linux

  • Install Linux on your Pi.

  • Install the prereq packages for .NET Core.

  • Copy your app to the Raspberry Pi and execute application from .NET Core running on your Pi! (make sure you chmod 755)

Clone this wiki locally