Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
This article applies to: ✔️ .NET 6 SDK and later versions
Name
dotnet nuget disable source - Disable a NuGet source.
Synopsis
dotnet nuget disable source <NAME> [--configfile <FILE>]
dotnet nuget disable source -h|--help
Description
The dotnet nuget disable source command disables 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
Disable a source with name of
mySource:dotnet nuget disable source mySource
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.