dotnet remove package
This article applies to: ✔️ .NET Core 3.1 SDK and later versions
Name
dotnet remove package
- Removes package reference from a project file.
Synopsis
dotnet remove [<PROJECT>] package <PACKAGE_NAME>
dotnet remove package -h|--help
Description
The dotnet remove package
command provides a convenient option to remove a NuGet package reference from a project.
Arguments
PROJECT
Specifies the project file. If not specified, the command searches the current directory for one.
PACKAGE_NAME
The package reference to remove.
Options
-?|-h|--help
Prints out a description of how to use the command.
Examples
Remove
Newtonsoft.Json
NuGet package from a project in the current directory:dotnet remove package Newtonsoft.Json
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Tagasiside
https://aka.ms/ContentUserFeedback.
Varsti tulekul: 2024. aasta jooksul tühistame GitHubi probleemide funktsiooni sisutagasiside mehhanismina ja asendame selle uue tagasisidesüsteemiga. Lisateabe saamiseks vtEsita ja vaata tagasisidet