Summary
Updates referenced packages in a project.
- Namespace
- Cake
.Common .Tools .DotNet .Package .Update - Containing Type
- DotNetPackageUpdater
Syntax
public void Update(IEnumerable<string> packages, string project, DotNetPackageUpdateSettings settings)
Parameters
| Name | Type | Description |
|---|---|---|
| packages | IEnumerable |
The packages to update. When null or empty, all packages are updated. |
| project | string | The target project file or directory. When set, this value wins over Project. |
| settings | Dot |
The settings. |
Return Value
| Type | Description |
|---|---|
| void |
