DotNetOutdatedReporter.

Report(string, DotNetOutdatedReportSettings) Method

Summary

Reports outdated packages.

Syntax

public void Report(string path, DotNetOutdatedReportSettings settings)

Remarks

When an output file is configured, an existing file is deleted first (so a stale report cannot be misread) and its directory is created. dotnet-outdated writes no file when nothing is outdated, so after a successful run with JSON output an empty report is written in that case.

Parameters

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

Return Value

Type Description
void