logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Arguments

PROJECT

       Specifies the project file.  If not specified, the command searches the current directory for one.

       PACKAGE_NAME

       The package reference to remove.

Description

       The dotnetremovepackage command provides a convenient option to remove a NuGet package reference from a
       project.

Dotnet Remove Package

Thisarticleappliesto: ✔️ .NET Core 3.1 SDK and later versions

Examples

       • Remove Newtonsoft.Json NuGet package from a project in the current directory:

                dotnet remove package Newtonsoft.Json

                                                   2024-10-02                           dotnet-remove-package(1)

Name

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

Options

-?|-h|--help

         Prints out a description of how to use the command.

Synopsis

              dotnet remove [<PROJECT>] package <PACKAGE_NAME>

              dotnet remove package -h|--help

See Also