dotnet / dotnet/msbuild

[Feature Request]: Create an 'umbrella' property to enable hardlinks for every use case

Open
#9,235 1 comment 0 reactions 0 assignees View on GitHub
Feature Request Priority:2 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Summary

We should provide a single knob that users can set to opt in to hardlinks everywhere - for both our current set of hardlinks as well as all future uses of them.

### Background and Motivation

Users currently have to set multiple flags to get this behavior, and this is not resilient to new uses of hardlinks in MSBuild. An example of this is [from Roslyn](https://github.com/dotnet/roslyn/blob/579d96b62f1c7ce51219b54401dfdc70eda4fbac/eng/targets/Settings.props#L167-L172).

### Proposed Feature

We should provide a `UseHardLinksGlobally` property that users could set that would opt into every use case of hardlinks that we currently support, as well as all future ones.

### 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.