dotnet / dotnet/msbuild

Consider simpler GetPathOfFileAbove syntax

Open
#8,134 0 comments 1 reaction 0 assignees View on GitHub
Area: Language backlog Feature Request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Could `GetPathOfFileAbove` and `GetDirectoryNameOfFileAbove` be made to accept relative paths for their `startingDirectory` parameter? That way, we can drop the macro that so often is required in the argument.

It would allow this simplification:
```diff
-
+
```

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.