DotNetPackageRemover.

Remove(string, string) Method

Summary

Removes package reference from a project file.

Syntax

public void Remove(string packageName, string project)

Parameters

Name Type Description
packageName string The package reference to remove.
project string The target project file path. If not specified, the command searches the current directory for one.

Return Value

Type Description
void