dotnet / dotnet/sdk

Consider setting MSBuild properties to inform about the presence/absence of global.json in a repo

Open
#50,660 0 comments 2 reactions 0 assignees View on GitHub
Area-MSBuild untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.

If a build logic author wants to enforce a global.json in a repo, the only mechanism they have today is probing and parsing for it on their own. The CLI already inherently does this - it should provide properties similar to the ones that the SdkResolver does so that there's a uniform expectation of availability.

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.