[Feature Request]: Terminal Logger output display should use relative paths for directories in the same 'repo root'
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Summary
I have a repo where I'm using the SDK Artifacts layout, which puts outputs in a layout like
```
- artifacts
- publish
-
-
- src
-
```
When I publish one of these projects from its src directory, the output path link is fully-qualified:

Since this location is in the same 'repo' I'd prefer to see this path using relative pathing: `../../artifacts/publish/msbuild-versioning-sample/release_osx-x64`
### Background and Motivation
We already use relative pathing for directories _under_ the current working directory, and it seems natural to me to use relative paths for all repo-local locations. The hard part might be deciding what is repo-local, since MSBuild doesn't really have a core concept of a repo root. Maybe Sourcebuild can be of use here, since it's properties can tell us a repo root?
### Proposed Feature
If the `SourceRoot` Item is present (which it should be after the `InitializeSourceControlInformation` Target has finished) then use it as a basis for computing relative paths _if_ the project isn't a direct ancestor of the path being made relative to display the outputs.
### Alternative Designs
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.