Do not build the exe for Global tool shim project (#24263) (#24315)

This commit is contained in:
Aditya Patwardhan
2024-09-20 12:40:59 -07:00
committed by GitHub
parent ec222e62b1
commit ea39b567a5
+7
View File
@@ -587,6 +587,13 @@ Fix steps:
try {
Push-Location $globalToolSrcFolder
if ($Options.Runtime -like 'fxdependent*') {
if ($Arguments -contains '/property:UseAppHost=true') {
$Arguments = @($Arguments | Where-Object { $_ -notlike '/property:UseAppHost=true' })
}
}
if ($Arguments -notcontains '--output') {
$Arguments += "--output", $publishPath
}