dotnet / dotnet/msbuild

[Feature Request]: Terminal Logger primary outputs should optionally use absolute paths

Open
#9,740 1 comment 0 reactions 1 assignee Claimed by @MichalPavlik View on GitHub
Area: Terminal Logger Feature Request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

### Summary

In https://github.com/dotnet/sdk/issues/38552 @tmds requested that the primary outputs of built projects be able to emit the absolute path instead of relative paths. While we don't think this should be the _default_ behavior, some kind of knob here does make sense for their use case.

### Background and Motivation

We chose relative paths for the output (with clickable/right-click-able directory urls) for readability and usability based on customer feedback from the first Terminal Logger releases. However some user workflows benefit from copying the direct file.

### Proposed Feature

We should enable this either by emitting the absolute path visually, or by making the generated `file://`-scheme URIs (for terminals that support clickable links) emit absolute paths. This should be toggled via some option, it should not be the default.

### Alternative Designs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.