1dotnet-nuget-disable-source(1).NET Documentationdotnet-nuget-disable-source(1)
2
3
4
6 This article applies to: ✔️ .NET Core 3.1.200 SDK and later versions
7
9 dotnet-nuget-disable-source - Disable a NuGet source.
10
12 dotnet nuget disable source <NAME> [--configfile <FILE>]
13
14 dotnet nuget disable source -h|--help
15
17 The dotnet nuget disable source command disables 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 • Disable a source with name of mySource:
35
36 dotnet nuget disable 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-disable-source(1)