对应添加就完事
发布
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
.NetCore利用Swagger生成 XML文档release下未生成
原文:https://www.cnblogs.com/Cein/p/14202686.html