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

发布项目

使用mobaxterm上传程序

就传三个文件就行
回到在mobaxterm中,进入目录输入:cd consolepublish,运行程序: dotnet ConsoleApp1.dll

输出hello world,成功
1、在自己的电脑上使用VS写一个Net6.0的控制台程序,我假设我就写个Helloworld。
发布项目
使用mobaxterm上传程序
就传三个文件就行
回到在mobaxterm中,进入目录输入:cd consolepublish,运行程序: dotnet ConsoleApp1.dll
输出hello world,成功