A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-remove-package below:

dotnet package remove command - .NET CLI

dotnet package remove

In this article

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

Name

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

Note

If you're using .NET 9 SDK or earlier, use the "verb first" form (dotnet remove package) instead. The "noun first" form was introduced in .NET 10. For more information, see More consistent command order.

Synopsis
dotnet package remove <PACKAGE_NAME> [--project <PROJECT>]

dotnet package remove -h|--help
Description

The dotnet package remove 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

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4