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