dotnet nuget disable source
此文章適用於:✔️ .NET Core 3.1.200 SDK 與更新的版本
dotnet nuget disable source
:停用 NuGet 來源。
dotnet nuget disable source <NAME> [--configfile <FILE>]
dotnet nuget disable source -h|--help
dotnet nuget disable source
命令會停用 NuGet 設定檔中的現有來源。
NAME
來源名稱。
--configfile <FILE>
要使用的 NuGet 組態檔 (nuget.config)。 若已指定,僅會使用此檔案中的設定。 若未指定,則將使用當前目錄中組態檔的階層。 如需詳細資訊,請參閱常見的 NuGet 組態。
停用名稱為
mySource
的來源:dotnet nuget disable source mySource