Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
This article applies to: ✔️ .NET 6 SDK and later versions
Name
dotnet nuget enable source - Enable a NuGet source.
Synopsis
dotnet nuget enable source <NAME> [--configfile <FILE>]
dotnet nuget enable source -h|--help
Description
The dotnet nuget enable source command enables an existing source in your NuGet configuration files.
Arguments
NAMEName of the 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.
Examples
Enable a source with name of
mySource:dotnet nuget enable source mySource