或者,为了好奇,我如何将解决方案配置传递到下面的命令中,以便’Release’不是硬编码的.
"scripts": { "postcompile": [ "dotnet pack --no-build --configuration Release" ] }