This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.DotNetOutdated.
Summary
Upgrades outdated NuGet packages of a solution, project or directory using dotnet-outdated
and the specified settings.
Syntax
public static void DotNetOutdatedUpgrade(this ICakeContext context, string path, DotNetOutdatedUpgradeSettings settings)
Examples
DotNetOutdatedUpgrade("./src/App.sln", new DotNetOutdatedUpgradeSettings
{
VersionLock = DotNetOutdatedVersionLock.Major,
NoRestore = true
});
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| path |
string |
The solution, project or directory to upgrade; the current directory if empty. |
| settings |
DotNetOutdatedUpgradeSettings |
The settings. |
Return Value