-
Hi David,
Many thanks for your excellent article https://davidjmclaughlin.com/projects/how-to/2020/03/15/running-.net-core-on-openwrt-and-raspberry-pi-4.html. You saved my life!!
I have followed your instructions with the latest openwrt version 19.07.3 and guess what? This test app executes perfectly w/o any exceptions. You still need to opkg install the 3 packages you mentioned: libstdcpp6, libintl-full8, icu. But there is all you need to do.
Another findings I have:
- You can also download the entire dotnet runtime to openwrt if the hw is using either one of arm64 or amd64. You can use the versions of dotnet runtime intended for alpine linux as this one also uses musl c libs like openwrt.
- If you download the dotnet runtime that you don't need to do AOC compile, just send the dll (which has msil) and the supporting config files and execute it under dotnet app which will jit compile it.
- You can also install the dotnet sdk if the openwrt HW uses amd64/x64 cpu. Unfortunately MS does not have the dotnet runtime for musl arm64.
- Dotnet won't run on openwrt with arm32 cpu. I tried to AOC build it with 'dotnet publish --configuration Release --runtime linux-musl-arm --self-contained' command, but won't run on the openwrt, getting 'no file' error.
Look forward to your response. -antony
Edited by antony h
Please register or sign in to comment