add C# distribtest coverage for .NET5 single file publish

pull/24744/head
Jan Tattermusch 4 years ago
parent adf6b33c3d
commit 53390d9c42
  1. 5
      test/distrib/csharp/run_distrib_test_dotnetcli.sh

@ -68,9 +68,14 @@ if [ "${SKIP_NET50_DISTRIBTEST}" != "1" ]
then
dotnet publish -f net5.0 DistribTestDotNet.csproj
dotnet publish -r linux-x64 -f net5.0 DistribTestDotNet.csproj -p:PublishSingleFile=true --self-contained true --output net5_singlefile_publish
# .NET Core target after dotnet build
dotnet exec bin/Debug/net5.0/DistribTestDotNet.dll
# .NET Core target after dotnet publish
dotnet exec bin/Debug/net5.0/publish/DistribTestDotNet.dll
# binary generated by the single file publish
./net5_singlefile_publish/DistribTestDotNet
fi

Loading…
Cancel
Save