This article applies to: ✔️ .NET 8.0.2xx SDK and later versions
Contents
Arguments
• CONFIG_KEY
The key of the settings that are to be removed.
Description
The dotnetnugetconfigunset unsets the values for NuGet configuration settings that will be applied
from the config section.
Dotnet Nuget Config Unset
Thisarticleappliesto: ✔️ .NET 8.0.2xx SDK and later versions
Examples
• Removes’s the repositoryPath config value from the specified configuration file:
dotnet nuget config unset repositoryPath --configfile "C:/nugte.config"
Name
dotnet-nuget-config-unset - Removes the key-value pair from a specified NuGet configuration setting.
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.
• -?|-h|--help
Prints out a description of how to use the command.
See Also
• nuGet.config reference
2024-10-02 dotnet-nuget-config-unset(1)
Synopsis
dotnet nuget config unset <CONFIG-KEY> [--configfile <FILE>]
dotnet nuget config unset -h|--help
