Skip to content

[vs18.5] always use Path.GetFullPath() in path canonicalization#13392

Merged
JanProvaznik merged 2 commits intodotnet:vs18.5from
JanProvaznik:vs18.5-revert-canoncialize-optimization
Mar 18, 2026
Merged

[vs18.5] always use Path.GetFullPath() in path canonicalization#13392
JanProvaznik merged 2 commits intodotnet:vs18.5from
JanProvaznik:vs18.5-revert-canoncialize-optimization

Conversation

@JanProvaznik
Copy link
Copy Markdown
Member

@JanProvaznik JanProvaznik commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adjusts path canonicalization behavior in AbsolutePath and bumps the repo version prefix for a servicing release.

Changes:

  • Removes the pre-check/fast-path in AbsolutePath.GetCanonicalForm(), making it always call Path.GetFullPath.
  • Updates VersionPrefix from 18.5.0 to 18.5.1 in eng/Versions.props.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Framework/PathHelpers/AbsolutePath.cs Simplifies canonicalization by always normalizing via Path.GetFullPath.
eng/Versions.props Increments the product version prefix for the next servicing build.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread src/Framework/PathHelpers/AbsolutePath.cs
@JanProvaznik
Copy link
Copy Markdown
Member Author

TBD Version bump after the other PR is merged.

@JanProvaznik JanProvaznik added the merge-carefully Merge one at a time, verifying this doesn't break anything down the chain. label Mar 16, 2026
@OvesN OvesN self-requested a review March 18, 2026 15:23
@JanProvaznik JanProvaznik merged commit a7014fa into dotnet:vs18.5 Mar 18, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-carefully Merge one at a time, verifying this doesn't break anything down the chain.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants