From 6bb33d8683bdaaeec5549d825fb8897168dddeb1 Mon Sep 17 00:00:00 2001 From: William Bohrmann <118313312+williambohrmann3@users.noreply.github.com> Date: Wed, 16 Aug 2023 07:30:45 -0700 Subject: [PATCH] Use CPM for build checks (#1289) --- .github/workflows/BuildSuccess_Check.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/BuildSuccess_Check.yaml b/.github/workflows/BuildSuccess_Check.yaml index 5b31d0601b..b1f9cbfcbb 100644 --- a/.github/workflows/BuildSuccess_Check.yaml +++ b/.github/workflows/BuildSuccess_Check.yaml @@ -24,7 +24,7 @@ jobs: uses: microsoft/setup-msbuild@v1.0.2 - name: Build MAUI run: | - msbuild /restore /t:Build src/MAUI/ArcGIS.Samples.MAUI.sln /p:Configuration=Release + msbuild /restore /t:Build src/MAUI/ArcGIS.Samples.MAUI.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true # WPF .NET Build build-wpf: @@ -39,7 +39,7 @@ jobs: - name: Build WPF .NET run: | - msbuild /restore /t:Build src/WPF/ArcGIS.WPF.Viewer.Net.sln /p:Configuration=Release + msbuild /restore /t:Build src/WPF/ArcGIS.WPF.Viewer.Net.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true # WPF .NET Framework Build @@ -55,7 +55,7 @@ jobs: - name: Build WPF .NETFramework run: | - msbuild /restore /t:Build src/WPF/ArcGIS.WPF.Viewer.NetFramework.sln /p:Configuration=Release + msbuild /restore /t:Build src/WPF/ArcGIS.WPF.Viewer.NetFramework.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true # WinUI Build build-winUI: @@ -70,4 +70,4 @@ jobs: - name: Build WinUI run: | - msbuild /restore /t:Build src/WinUI/ArcGIS.WinUI.Viewer.sln /p:Configuration=Release \ No newline at end of file + msbuild /restore /t:Build src/WinUI/ArcGIS.WinUI.Viewer.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true \ No newline at end of file