docs icon indicating copy to clipboard operation
docs copied to clipboard

Process for deploying a self-contained app on arm64 needs clarification

Open kenrachynski opened this issue 3 years ago • 1 comments

I was trying the tutorial at https://docs.microsoft.com/en-ca/dotnet/iot/tutorials/blink-led with my rpi4b running Raspberry Pi OS (64-bit). I built the project on a MacBook Pro 13" M1. So, arm64 in all cases.

When following the section on deploying a self-contained app, I used the dotnet publish -r linux-arm as mentioned. Copying the resultant binary to my pi and running it resulted in error message: -bash: ./BlinkTutorial: No such file or directory

After consulting with others, I was informed of the existence of the linux-arm64 tag. Using that allowed my program to run successfully.

So, some clarification on arm vs arm64 would be handy. I have no devices running a 32-bit rpios to verify that linux-arm works as described in the documentation.


Document details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

kenrachynski avatar Sep 10 '22 20:09 kenrachynski

Timely! I just started updating all those docs this week.

Good callout on the 32-bit vs. 64-bit builds. I'll add some text this week.

Have a good weekend!

CamSoper avatar Sep 10 '22 21:09 CamSoper