Summary
Shows why a package is in the restore graph.
- Namespace
- Cake
.Common .Tools .DotNet .NuGet .Why - Containing Type
- DotNetNuGetWhyer
Syntax
public DotNetNuGetWhyResult Why(string project, string package, DotNetNuGetWhySettings settings)
Parameters
| Name | Type | Description |
|---|---|---|
| project | string | The project or solution file to operate on. If not specified, Project is used. |
| package | string | The package identifier. |
| settings | Dot |
The settings. |
Return Value
| Type | Description |
|---|---|
| DotNetNuGetWhyResult | The parsed dependency graphs. |
