对应添加就完事
发布
set workDir=%cd% cd %workDir%/Src/ZT.AAA.API dotnet publish --runtime linux-x64 --framework netcoreapp2.2 --self-contained -c Release -o %workDir%/Dist/linux-x64/API cd %workDir%/Src/ZT.AAA.Client dotnet publish --runtime linux-x64 --framework netcoreapp2.2 --self-contained -c Release -o %workDir%/Dist/linux-x64/Client pause