Repository navigation
Enable fail on prebuilt baseline errors - #14026
Merged
Merged
Conversation
MichaelSimons
approved these changes
Sep 13, 2023
mmitche
approved these changes
Sep 13, 2023
mthalman
enabled auto-merge (squash)
September 13, 2023 20:58
ViktorHofer
added a commit
that referenced
this pull request
Jun 12, 2026
Make the temporary #14026 workaround leave visible evidence in CI console logs (it only fires when the drive casing actually differs, so this is not noisy on healthy machines). Co-authored-by: Copilot <[email protected]>
ViktorHofer
added a commit
that referenced
this pull request
Jun 12, 2026
NetCoreSdkRoot carries a trailing directory separator, but GetFinalPathNameByHandle returns the canonical path without one. The strict full-path equality guard therefore always failed, making the drive-casing normalization a silent no-op and leaving MSB4216 (#14026) unfixed. Compare with trailing separators trimmed from both sides. Co-authored-by: Copilot <[email protected]>
AlesProkop
added a commit
that referenced
this pull request
Jun 23, 2026
Replace the GetFinalPathNameByHandle probe (which returns an uppercase drive on the affected ADO agents and was a proven no-op) with one that launches the SDK's dotnet host and reads GetModuleFileNameW(NULL) - the exact API behind the .NET task host child's Environment.ProcessPath - so the host learns and adopts the child's drive-letter casing. Casing-only guard; cached; override/disable knobs. Validated green on a failing ADO CodeQL agent (microsoft-testfx): probe resolved 'd:', NetCoreSdkRoot rewritten D:->d:, MSB4216 eliminated. Co-authored-by: Copilot <[email protected]>
JanProvaznik
pushed a commit
that referenced
this pull request
Jun 24, 2026
…builds on #17002) (#17039) Co-authored-by: Viktor Hofer <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Copilot <[email protected]>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #14022
This ensures the existence of SB prebuilts will cause repo builds to fail even if they don't treat warnings as errors.