Add resgen to PATH so csharp tests are run

pull/4340/head
Jon Turney 6 years ago
parent 3582108fe7
commit 9717fb8164
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 6
      ci/azure-steps.yml

@ -49,6 +49,12 @@ steps:
$vsver = $env:compiler.Replace('msvc', '')
Import-VisualStudioVars -VisualStudioVersion $vsver -Architecture $(arch)
# add .NET framework tools to path for resgen for C# tests
# (always use 32-bit tool, as there doesn't seem to be a 64-bit tool)
if ((Get-Command "resgen.exe" -ErrorAction SilentlyContinue) -eq $null) {
$env:Path = "$env:WindowsSDK_ExecutablePath_x86;$env:Path"
}
if ($env:backend -eq 'ninja') {
ninja --version
} else {

Loading…
Cancel
Save