[global-json] Please add possible locations of the **global.json**
@TobiasSekan commented on Mon Jul 23 2018
Hello, Please add possible locations (paths) of the global.json
Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.
- ID: a94c335b-0b65-96cc-1c25-65777fbe4bb5
- Version Independent ID: 6d80613f-42dc-35d7-aeff-3187a36dbbca
- Content: Global.json-Referenz
- Content Source: docs/core/tools/global-json.md
- GitHub Login: @blackdwarf
- Microsoft Alias: mairaw
Hi team, I'm moving this here as the user is requesting for locations that don't seem in the updated file.
Thanks!
I'm closing this one by design. The topic already covers that by saying: ".NET Core SDK looks for a global.json file in the current working directory (which isn't necessarily the same as the project directory) or one of its parent directories."
Basically, the global.json file can be anywhere on the machine. The SDK will search for a file in the current directory and if it doesn't find one, it will traverse back the folder structure trying to find one in its parent folders.
@TobiasSekan please let me know if that doesn't answer your issue.
Hello, yes i understand
(The main task behind the question was, if there a central location for the global.json like %APPDATA%, %LOCALAPPDATA%, %USERPROFILE% etc.)
No, there isn't @TobiasSekan.