1. 程式人生 > >樹莓派3 下運行.net core2.0

樹莓派3 下運行.net core2.0

microsoft connect put net 程序 ros 樹莓派3 sof .cn

折騰兩天,終於在樹莓派上運行 .net 程序。在此記錄一下所踩的坑。先看一下結果:

技術分享

為了這一行折騰了很久。

第一個坑,樹莓派安裝系統後不能直接ssh。需要在根目錄創建一個ssh文件夾。

第二個坑,dotnet core 發布需要使用, dotnet publish -r linux-arm 發布。

重復的事情就不重復copy直接看引用

參考的文章:

樹莓派安裝系統:

http://blog.csdn.net/u011388550/article/details/49981703

http://shumeipai.nxez.com/2013/09/07/using-putty-to-log-in-to-the-raspberry-pie.html

http://shumeipai.nxez.com/2017/02/27/raspbian-ssh-connection-refused.html

dotnet core:

http://www.linuxidc.com/Linux/2016-07/133203.htm

https://www.microsoft.com/net/core

https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md

樹莓派3 下運行.net core2.0