Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.1 KB

File metadata and controls

49 lines (31 loc) · 1.1 KB
title dotnet remove package command - .NET Core CLI
description The dotnet remove package command provides a convenient option to remove NuGet package reference to a project.
author mairaw
ms.author mairaw
ms.date 08/14/2017
ms.topic article
ms.prod .net-core
ms.technology dotnet-cli
ms.workload
dotnetcore

dotnet remove package

[!INCLUDE topic-appliesto-net-core-all]

Name

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

Synopsis

dotnet remove [<PROJECT>] package <PACKAGE_NAME> [-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 will search the current directory for one.

PACKAGE_NAME

The package reference to remove.

Options

-h|--help

Prints out a short help for the command.

Examples

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

dotnet remove package Newtonsoft.Json