From 79d248b3ee4d1bac9abc4adaf740c189eacc8ac3 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Thu, 5 Dec 2024 13:11:18 +0100 Subject: [PATCH] chore: Use .NET 8.0 for Windows app build in CI --- build/ci/.azure-devops-wasdk.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/ci/.azure-devops-wasdk.yml b/build/ci/.azure-devops-wasdk.yml index 3b832952dc8c..453f7c953bf9 100644 --- a/build/ci/.azure-devops-wasdk.yml +++ b/build/ci/.azure-devops-wasdk.yml @@ -41,7 +41,7 @@ jobs: # --- # NOTE: The error says to specify a RuntimeIdentifier *OR* platform other than AnyCPU. # We already specify RuntimeIdentifier=win-x64 in the build below. Still, the error pops up. - msbuildArguments: /r /t:Publish /m /v:m /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win-x64 /p:TargetFramework=net9.0-windows10.0.19041.0 /p:BuildGraphics3DGLForWindows=true /p:GenerateAppxPackageOnBuild=true /detailedsummary /bl:$(build.artifactstagingdirectory)/build-wasdk.binlog + msbuildArguments: /r /t:Publish /m /v:m /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win-x64 /p:TargetFramework=net8.0-windows10.0.19041.0 /p:BuildGraphics3DGLForWindows=true /p:GenerateAppxPackageOnBuild=true /detailedsummary /bl:$(build.artifactstagingdirectory)/build-wasdk.binlog clean: false restoreNugetPackages: false logProjectEvents: false @@ -50,7 +50,7 @@ jobs: - task: CopyFiles@2 condition: always() inputs: - SourceFolder: $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.Windows/bin/x64/Release/net9.0-windows10.0.19041.0/win-x64/AppPackages + SourceFolder: $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.Windows/bin/x64/Release/net8.0-windows10.0.19041.0/win-x64/AppPackages Contents: '**' TargetFolder: $(build.artifactstagingdirectory) CleanTargetFolder: false