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

This commit is contained in:
Aditya Patwardhan authored and GitHub committed 2024-09-10 20:47:23 +00:00
1 parent 7e27e63456
commit de0c8d21f4
1 file changed
+7
+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
}