1dotnet-remove-package(1)      .NET Documentation      dotnet-remove-package(1)
2
3
4

dotnet remove package

6       This article applies to: ✔️ .NET Core 3.1 SDK and later versions
7

NAME

9       dotnet-remove-package - Removes package reference from a project file.
10

SYNOPSIS

12              dotnet remove [<PROJECT>] package <PACKAGE_NAME>
13
14              dotnet remove package -h|--help
15

DESCRIPTION

17       The  dotnet  remove package command provides a convenient option to re‐
18       move a NuGet package reference from a project.
19

ARGUMENTS

21       PROJECT
22
23       Specifies the project file.  If not specified, the command searches the
24       current directory for one.
25
26       PACKAGE_NAME
27
28       The package reference to remove.
29

OPTIONS

31-?|-h|--help
32
33         Prints out a description of how to use the command.
34

EXAMPLES

36       • Remove  Newtonsoft.Json  NuGet  package from a project in the current
37         directory:
38
39                dotnet remove package Newtonsoft.Json
40
41
42
43                                  2022-10-10          dotnet-remove-package(1)
Impressum