dotnet-remove-package - Man Page

Removes package reference from a project file.

dotnet remove package

This article applies to: āœ”ļø .NET Core 3.1 SDK and later versions

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

Examples

Info

2023-10-25 .NET Documentation