1dotnet-nuget-enable-source(1) .NET Documentation dotnet-nuget-enable-source(1)
2
3
4
6 This article applies to: ✔️ .NET Core 3.1.200 SDK and later versions
7
9 dotnet-nuget-enable-source - Enable a NuGet source.
10
12 dotnet nuget enable source <NAME> [--configfile <FILE>]
13
14 dotnet nuget enable source -h|--help
15
17 The dotnet nuget enable source command enables an existing source in
18 your NuGet configuration files.
19
21 • NAME
22
23 Name of the source.
24
26 • --configfile <FILE>
27
28 The NuGet configuration file (nuget.config) to use. If specified,
29 only the settings from this file will be used. If not specified, the
30 hierarchy of configuration files from the current directory will be
31 used. For more information, see Common NuGet Configurations.
32
34 • Enable a source with name of mySource:
35
36 dotnet nuget enable source mySource
37
39 • Package source sections in NuGet.config files
40
41 • sources command (nuget.exe)
42
43
44
45 2022-10-10 dotnet-nuget-enable-source(1)