diff --git a/eng/build.ps1 b/eng/build.ps1 index 7da4e1869f23f..f93182c5bd89e 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -263,7 +263,11 @@ foreach ($config in $configuration) { $argumentsWithConfig = $arguments + " -configuration $((Get-Culture).TextInfo.ToTitleCase($config))"; foreach ($singleArch in $arch) { $argumentsWithArch = "/p:TargetArchitecture=$singleArch " + $argumentsWithConfig - $env:__DistroRid="win-$singleArch" + if ($os -eq "Browser") { + $env:__DistroRid="browser-$singleArch" + } else { + $env:__DistroRid="win-$singleArch" + } Invoke-Expression "& `"$PSScriptRoot/common/build.ps1`" $argumentsWithArch" if ($lastExitCode -ne 0) { $failedBuilds += "Configuration: $config, Architecture: $singleArch"