logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

This article applies to: ✔️ .NET 8.0.2xx SDK and later versions

Arguments

CONFIG_KEY

         The key of the settings that are to be set.

       • CONFIG-VALUE

         The value of the settings that are to be set.

Description

       The  dotnetnugetconfigset sets the values for NuGet configuration settings that will be applied from
       the config section.

Dotnet Nuget Config Set

Thisarticleappliesto: ✔️ .NET 8.0.2xx SDK and later versions

Examples

       • Sets the repositoryPath configuration value c:\installed_packages to the current directory:

                dotnet nuget config set repositoryPath "c:\installed_packages"

       • Sets the repositoryPath configuration value c:\installed_packages to the specified configuration file:

                dotnet nuget config set repositoryPath "c:\installed_packages" --configfile "c:\nuget.config"

Name

       dotnet-nuget-config-set - Set the value of 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-set(1)

Synopsis

              dotnet nuget config set <CONFIG-KEY> <CONFIG-VALUE> [--configfile <FILE>]

              dotnet nuget config set -h|--help

See Also