[VMR] Pass architecture to wpf and windowsdesktop repos (#19393)

Works around https://github.com/dotnet/source-build/issues/4313 and https://github.com/dotnet/source-build/issues/4314
This commit is contained in:
Alexander Köplinger 2024-04-10 14:58:04 +02:00 committed by GitHub
parent 52d8d05dff
commit 310e0ca1c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,8 @@
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)v $(LogVerbosity)</BuildArgs>
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</BuildArgs>
<!-- TODO remove once https://github.com/dotnet/source-build/issues/4313 is fixed -->
<BuildArgs>$(BuildArgs) /p:TargetArchitecture=$(TargetArchitecture)</BuildArgs>
</PropertyGroup>
<ItemGroup>

View file

@ -6,6 +6,8 @@
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)v $(LogVerbosity)</BuildArgs>
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</BuildArgs>
<!-- TODO setting Platform shouldn't be necesary: https://github.com/dotnet/source-build/issues/4314 -->
<BuildArgs>$(BuildArgs) /p:Platform=$(TargetArchitecture)</BuildArgs>
</PropertyGroup>
<ItemGroup>