This article is a mirror article of machine translation, please click here to jump to the original article.

View: 6922|Reply: 0

[Source] Raspberry Pi 3B runs .NET Core programs

[Copy link]
Posted on 12/25/2021 8:57:16 PM | | | |
First of all, Raspberry Pi 3B needs to be installed with Raspberry Pi OS system, the tutorial is as follows:

Raspberry Pi 3B (Raspberry Pi 3B) is installed with the Raspberry Pi OS system
https://www.itsvse.com/thread-10052-1-1.html

The Raspberry Pi 3B isArm architecture 32-bit, refer to the following:

Linux looks at the computer CPU architecture
https://www.itsvse.com/thread-10208-1-1.html


Download and install the .NET 6.0 runtime

Download address: Address:The hyperlink login is visible.

.NET Runtime 6.0.1: The .NET Runtime contains only the components needed to run console applications. Typically, you'll also need to install the ASP.NET Core runtime or the .NET desktop runtime.

Create a catalog

When downloading the Arm32 runtime, the command is as follows:

unpack

Create soft links

Now that the runtime required for .NET Core is installed, you can view the installed runtime with the following command:


Run the .NET Core console program

Create a new .NET Core 6.0 console program, output a sentence, and then publish the program, deploying the module as a dependency framework, as shown in the figure below:



Upload the publisher to the Raspberry Pi and try to run the program through the command, as shown in the figure below:


It can be seen that .NET Core successfully runs on the Raspberry Pi Raspberry Pi OS system.




Previous:Linux looks at the computer CPU architecture
Next:.NET/C# data desensitization (sensitive information asterisk)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com