diff --git a/.azure-pipelines/sign-tool-predictor.yml b/.azure-pipelines/sign-tool-predictor.yml index e980c5b8f550..4243cabf1178 100644 --- a/.azure-pipelines/sign-tool-predictor.yml +++ b/.azure-pipelines/sign-tool-predictor.yml @@ -41,7 +41,7 @@ steps: inputs: command: custom custom: msbuild - arguments: 'tools\Az.Tools.Predictor\build.proj /target:"Clean;Build;GenerateHelp" /p:Configuration=Release' + arguments: 'tools\Az.Tools.Predictor\build.proj /target:"Clean;Build;GenerateHelp" /p:Configuration=Release /p:PowerShellCoreCommandPrefix="$(Pipeline.Workspace)\\PowerShell-7.2.0-preview.3\\pwsh.exe -NonInteractive -NoLogo -NoProfile -Command"' - task: UseDotNet@2 displayName: 'Install DotNet 2.1 Runtime for Signing'