From 04da4b29644c75209bf773095ca9b44265e648fd Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Fri, 21 May 2021 15:17:24 -0500 Subject: [PATCH] single-file app publishing (#197) * attempt to fix single file app publishing * update release workflow --- .github/workflows/release.yml | 2 +- ErsatzTV/ErsatzTV.csproj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ab1ab7ff..816ceef41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: #release_name_cli="ErsatzTV.CommandLine-$tag-${{ matrix.target }}" # Build everything - dotnet publish ErsatzTV/ErsatzTV.csproj --framework net5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name" /property:InformationalVersion="${tag:1}-${{ matrix.target }}" + dotnet publish ErsatzTV/ErsatzTV.csproj --framework net5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name" /property:InformationalVersion="${tag:1}-${{ matrix.target }}" /property:PublishSingleFile=true --self-contained true #dotnet publish ErsatzTV.CommandLine/ErsatzTV.CommandLine.csproj --framework net5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name_cli" /property:InformationalVersion="${tag:1}-${{ matrix.target }}" # Pack files diff --git a/ErsatzTV/ErsatzTV.csproj b/ErsatzTV/ErsatzTV.csproj index 982caa906..d663c46c8 100644 --- a/ErsatzTV/ErsatzTV.csproj +++ b/ErsatzTV/ErsatzTV.csproj @@ -3,6 +3,7 @@ net5.0 VSTHRD200 + true