树莓派部署.net core控制台程序

1、在自己的电脑上使用VS写一个Net6.0的控制台程序,我假设我就写个Helloworld。

发布项目

使用mobaxterm上传程序

就传三个文件就行

回到在mobaxterm中,进入目录输入:cd consolepublish,运行程序: dotnet ConsoleApp1.dll

输出hello world,成功

相关推荐
geovindu1 天前
CSharp: Observer Pattern
开发语言·后端·观察者模式·设计模式·c#·.netcore·行为模式
geovindu1 天前
CSharp: Strategy Pattern
开发语言·后端·c#·.net·.netcore·策略模式·行为模式
geovindu1 天前
CSharp: Task Scheduler
开发语言·后端·c#·.net·.netcore
geovindu7 天前
CSharp: Wordcloud
开发语言·后端·c#·.net·.netcore·词云
geovindu7 天前
CSharp: Command Pattern
开发语言·后端·c#·.net·.netcore·命令模式·行为模式
全栈小515 天前
【C#】.net core,静态方法线程安全解析,面试时经常被问的线程安全就藏在里面
安全·c#·.netcore
清风与日月17 天前
Yitter.IdGenerator:高性能分布式唯一ID生成器详解
分布式·c#·.net·.netcore
Lost of 程序猿20 天前
ASP.NET Core 后台任务全景:从 BackgroundService 到 Channel 队列,再到分布式调度
后端·asp.net·.netcore
宝桥南山21 天前
Blazor Web Assembly - 体验一下Authentication State从Server共享给Client
microsoft·微软·c#·asp.net·.net·.netcore
宝桥南山1 个月前
Microsoft Agent Framework(.NET) - 尝试一下从MCP Server上获取Agent Skills
ai·微软·c#·aigc·.net·.netcore