树莓派3 下运行.net core2.0

 

折腾两天,终于在树莓派上运行 .net 程序。在此记录一下所踩的坑。先看一下结果:html

 

为了这一行折腾了好久。linux

 

 

第一个坑,树莓派安装系统后不能直接ssh。须要在根目录建立一个ssh文件夹。git

 

第二个坑,dotnet core 发布须要使用,   dotnet publish -r linux-arm  发布。github

 

 

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

 

参考的文章:.net

树莓派安装系统:htm

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

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

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

 

 

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

相关文章
相关标签/搜索