From b779358129df59a9703e21f33fb4674e390ac875 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Fri, 1 Mar 2024 12:15:27 -0500 Subject: [PATCH] Build all projects with win-x64 RID when self-contained --- .github/workflows/release.yml | 2 +- src/Custom.Build.props | 4 ++++ src/ServiceControl.Audit/ServiceControl.Audit.csproj | 1 - .../ServiceControl.Monitoring.csproj | 1 - src/ServiceControl/ServiceControl.csproj | 1 - 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e410cf4d12..ff8bf31e93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Build run: dotnet build src --configuration Release -graph --property:WindowsSelfContained=true - name: Build ServiceControl Management - run: dotnet publish src\ServiceControl.Config\ServiceControl.Config.csproj --no-build --output assets + run: dotnet publish src\ServiceControl.Config\ServiceControl.Config.csproj --no-build --output assets --property:WindowsSelfContained=true - name: Sign NuGet packages uses: Particular/sign-nuget-packages-action@v1.0.0 with: diff --git a/src/Custom.Build.props b/src/Custom.Build.props index 0bfe007df0..04c7a25a11 100644 --- a/src/Custom.Build.props +++ b/src/Custom.Build.props @@ -28,6 +28,10 @@ + + win-x64 + + false diff --git a/src/ServiceControl.Audit/ServiceControl.Audit.csproj b/src/ServiceControl.Audit/ServiceControl.Audit.csproj index 54455b325e..a2b6bde636 100644 --- a/src/ServiceControl.Audit/ServiceControl.Audit.csproj +++ b/src/ServiceControl.Audit/ServiceControl.Audit.csproj @@ -7,7 +7,6 @@ - win-x64 true diff --git a/src/ServiceControl.Monitoring/ServiceControl.Monitoring.csproj b/src/ServiceControl.Monitoring/ServiceControl.Monitoring.csproj index dd2cff8564..98dc063467 100644 --- a/src/ServiceControl.Monitoring/ServiceControl.Monitoring.csproj +++ b/src/ServiceControl.Monitoring/ServiceControl.Monitoring.csproj @@ -7,7 +7,6 @@ - win-x64 true diff --git a/src/ServiceControl/ServiceControl.csproj b/src/ServiceControl/ServiceControl.csproj index b8ba4695e3..0cbc61ed0a 100644 --- a/src/ServiceControl/ServiceControl.csproj +++ b/src/ServiceControl/ServiceControl.csproj @@ -8,7 +8,6 @@ - win-x64 true