This article applies to: ✔️ .NET Core 3.1.200 SDK and later versions
Contents
Arguments
• NAME
Name of the source.
Description
The dotnetnugetdisablesource command disables an existing source in your NuGet configuration files.
Dotnet Nuget Disable Source
Thisarticleappliesto: ✔️ .NET Core 3.1.200 SDK and later versions
Examples
• Disable a source with name of mySource:
dotnet nuget disable source mySource
Name
dotnet-nuget-disable-source - Disable a NuGet source.
Options
• --configfile<FILE>
The NuGet configuration file (nuget.config) to use. If specified, only the settings from this file
will be used. If not specified, the hierarchy of configuration files from the current directory will
be used. For more information, see Common NuGet Configurations.
See Also
• Package source sections in NuGet.config files
• sources command (nuget.exe)
2024-10-02 dotnet-nuget-disable-source(1)
Synopsis
dotnet nuget disable source <NAME> [--configfile <FILE>]
dotnet nuget disable source -h|--help
