diff --git a/build/pipelines/templates/build-console-steps.yml b/build/pipelines/templates/build-console-steps.yml index 22bc6094c9a..b3260079e09 100644 --- a/build/pipelines/templates/build-console-steps.yml +++ b/build/pipelines/templates/build-console-steps.yml @@ -68,6 +68,9 @@ steps: - task: PowerShell@2 displayName: 'Check MSIX for common regressions' + # PGO runtime needs its own CRT and it's in the package for convenience. + # That will make this script mad so skip since we're not shipping the PGO Instrumentation one anyway. + condition: ne(variables['PGOBuildMode'], 'Instrument') inputs: targetType: inline script: |