Fix wrong heuristic to start ResGen
This commit is contained in:
parent
838ad202fa
commit
7d9046ea05
@ -145,7 +145,8 @@ function Start-PSBuild {
|
||||
}
|
||||
|
||||
# handle ResGen
|
||||
if ($ResGen -or -not (Test-Path "$($Options.Top)/gen"))
|
||||
# Heuristic to run ResGen on the fresh machine
|
||||
if ($ResGen -or -not (Test-Path "$PSScriptRoot/src/Microsoft.PowerShell.ConsoleHost/gen"))
|
||||
{
|
||||
log "Run ResGen (generating C# bindings for resx files)"
|
||||
Start-ResGen
|
||||
|
Loading…
Reference in New Issue
Block a user