Summary
Removes package reference from a project file.
- Namespace
- Cake
.Common .Tools .DotNet .Package .Remove - Containing Type
- DotNetPackageRemover
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 |