DotNetOutdatedAliases.

DotNetOutdated(ICakeContext, string, DotNetOutdatedReportSettings) Method

Summary

Reports outdated NuGet packages of a solution, project or directory using dotnet-outdated and the specified settings.

Syntax

public static void DotNetOutdated(this ICakeContext context, string path, DotNetOutdatedReportSettings settings)

Examples

DotNetOutdated(".", new DotNetOutdatedReportSettings
{
    OutputFile = "artifacts/outdated.json",
    OutputFormat = DotNetOutdatedOutputFormat.Json,
    IncludeUpToDate = false
});

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
path string The solution, project or directory to analyze; the current directory if empty.
settings DotNetOutdatedReportSettings The settings.

Return Value

Type Description
void