mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-14 05:39:11 +00:00
Do not build the exe for Global tool shim project (#24263)
This commit is contained in:
1 parent
7e27e63456
commit
de0c8d21f4
1 file changed
+7
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user