Skip to content

Commit 9ae724a

Browse files
committed
build: make sure the AnyCPU build sets BuildPlatform properly (#19925)
This caused the WPF-only build (packaging phase, really) to fail. Fixes d6714f3 (#19328) (cherry picked from commit 0f6ee4a) Service-Card-Id: PVTI_lADOAF3p4s4BQX0-zgmftD0 Service-Version: 1.25
1 parent d6da255 commit 9ae724a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/pipelines/templates-v2/job-build-package-wpf.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
BuildConfiguration: ${{ config }}
4747
dependsOn: ${{ parameters.dependsOn }}
4848
variables:
49+
BuildPlatform: Any CPU
4950
OutputBuildPlatform: AnyCPU
5051
Terminal.BinDir: $(Build.SourcesDirectory)/bin/$(OutputBuildPlatform)/$(BuildConfiguration)
5152
JobOutputDirectory: $(Build.ArtifactStagingDirectory)\nupkg

0 commit comments

Comments
 (0)