Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contradictory explanation of how global.json is searched for #40585

Open
paulloz opened this issue Apr 22, 2024 · 0 comments
Open

Contradictory explanation of how global.json is searched for #40585

paulloz opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@paulloz
Copy link

paulloz commented Apr 22, 2024

Describe the issue or suggestion

Hello 👋

The documentation page Select the .NET version to use currently states the following about how global.json is searched for.

The CLI searches upward from the project directory for the first global.json it finds.
[...]
The .NET CLI searches for a global.json file iteratively navigating the path upward from the current working directory.

Both are contradictory, the search begins in the current working directory (it is correctly explained in the page dedicated to global.json).

Should I simply PR a correction for this? I was about to, but reading the contribution guide, I seemed to understand that it'd be better to open an issue first. Thanks.

@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants