You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/consume-packages/configuring-nuget-behavior.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ NuGet's behavior is driven by the accumulated settings in one or more `NuGet.Con
17
17
| --- | --- | --- |
18
18
| Solution | Current folder (aka Solution folder) or any folder up to the drive root.| In a solution folder, settings apply to all projects in subfolders. Note that if a config file is placed in a project folder, it has no effect on that project. When restoring a project on the command line, the project's directory is treated as the solution directory, which can lead to differences in behaviour when restoring the project vs solution. |
19
19
| User |**Windows:**`%appdata%\NuGet\NuGet.Config`<br/>**Mac/Linux:**`~/.config/NuGet/NuGet.Config` or `~/.nuget/NuGet/NuGet.Config` (varies by tooling) <br/>Additional configs are supported on all platforms. These configs cannot be edited by the tooling. </br> **Windows:**`%appdata%\NuGet\config\*.Config` <br/>**Mac/Linux:**`~/.config/NuGet/config/*.config` or `~/.nuget/config/*.config`| Settings apply to all operations, but are overridden by any solution-level settings. |
20
-
| Computer |**Windows:**`%ProgramFiles(x86)%\NuGet\Config`<br/>**Mac/Linux:**`$XDG_DATA_HOME`. If `$XDG_DATA_HOME` is null or empty, `~/.local/share` or `/usr/local/share` will be used (varies by OS distribution)| Settings apply to all operations on the computer, but are overridden by any user- or solution-level settings. |
20
+
| Computer |**Windows:**`%ProgramFiles(x86)%\NuGet\Config`<br/>**Mac/Linux:**`/etc/opt/NuGet/Config` (Linux) or `/Library/Application Support` (Mac) by default. If `$NUGET_COMMON_APPLICATION_DATA` is neither null nor empty, then `$NUGET_COMMON_APPLICATION_DATA/NuGet/Config` instead| Settings apply to all operations on the computer, but are overridden by any user- or solution-level settings. |
21
21
22
22
> [!Note]
23
23
> On Mac/Linux, the user config file location varies by tooling. .NET CLI uses `~/.nuget/NuGet` folder, while Mono uses `~/.config/NuGet` folder.
0 commit comments