web
dotnet new mvc
dotnet run
.net console
mkdir apptest1 cd apptest1
dotnet new console
dotnet add package Figgle
dotnet publish -r win10-x64 /p:PublishSingleFile=true
dotnet add app/app.csproj reference lib/lib.csproj
原文:https://www.cnblogs.com/sui84/p/11443022.html