### ubuntu 手动安装dotnet 3.1 到/opt/dotnet
+ 创建项目
>>$ mkdir hello_world
>>$ cd hello_world
>>$ dotnet new console
+ 运行项目
>>$ dotnet run
+ 构建项目
>>$ dotnet build -c release
+ 构建无依赖的版本
>> dotnet publish --self-contained true --runtime linux-x64 -c release --output ./app
VSCode中 Omnisharp插件无法启动,
报错:InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk
or The SDK 'Microsoft.NET.Sdk' specified could not be found
解决:
export MSBuildSDKsPath=/opt/dotnet/sdk/3.1.100/Sdks