docs icon indicating copy to clipboard operation
docs copied to clipboard

[global-json] Please add possible locations of the **global.json**

Open LisandroSu opened this issue 8 years ago • 4 comments

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

LisandroSu avatar Jul 23 '18 19:07 LisandroSu

Hi team, I'm moving this here as the user is requesting for locations that don't seem in the updated file.

Thanks!

LisandroSu avatar Jul 23 '18 19:07 LisandroSu

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.

mairaw avatar Jul 30 '18 18:07 mairaw

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

ghost avatar Jul 31 '18 05:07 ghost

No, there isn't @TobiasSekan.

mairaw avatar Jul 31 '18 09:07 mairaw