jerriep - dotnet-outdated 1.1.0-pre.35

Package Description

PM> Install-Package dotnet-outdated -Version 1.1.0-pre.35 -Source https://www.myget.org/F/jerriep/api/v3/index.json

Copy to clipboard

> nuget.exe install dotnet-outdated -Version 1.1.0-pre.35 -Source https://www.myget.org/F/jerriep/api/v3/index.json

Copy to clipboard

> dotnet add package dotnet-outdated --version 1.1.0-pre.35 --source https://www.myget.org/F/jerriep/api/v3/index.json

Copy to clipboard
<PackageReference Include="dotnet-outdated" Version="1.1.0-pre.35" />
Copy to clipboard
source https://www.myget.org/F/jerriep/api/v3/index.json

nuget dotnet-outdated  ~> 1.1.0-pre.35
Copy to clipboard

> choco install dotnet-outdated --version 1.1.0-pre.35 --source https://www.myget.org/F/jerriep/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "jerriep" -SourceLocation "https://www.myget.org/F/jerriep/api/v2"
Install-Module -Name "dotnet-outdated" -RequiredVersion "1.1.0-pre.35" -Repository "jerriep" -AllowPreRelease
Copy to clipboard

dotnet-outdated

AppVeyor build status

NuGet MyGet

A .NET Core global tool to display outdated NuGet packages in a project

Installation

Download and install the .NET Core 2.1 SDK or newer. Once installed, run the following command:

dotnet tool install --global dotnet-outdated

If you already have a previous version of dotnet-outdated installed, you can upgrade to the latest version using the following command:

dotnet tool update --global dotnet-outdated

Usage

Usage: dotnet outdated [arguments] [options]

Arguments:
  Path                                       The path to a .sln or .csproj file, or to a directory containing a .NET Core solution/project. If none is specified, the current directory will be used.

Options:
  --version                                  Show version information
  -?|-h|--help                               Show help information
  -i|--include-auto-references               Specifies whether to include auto-referenced packages.
  -pre|--pre-release <PRERELEASE>            Specifies whether to look for pre-release versions of packages. Possible values: Auto (default), Always or Never.
  -vl|--version-lock <VERSION_LOCK>          Specifies whether the package should be locked to the current Major or Minor version. Possible values: None (default), Major or Minor.
  -t|--transitive                            Specifies whether it should detect transitive dependencies.
  -td|--transitive-depth <TRANSITIVE_DEPTH>  Defines how many levels deep transitive dependencies should be analyzed. Integer value (default = 1)
  -u|--upgrade:<TYPE>                        Specifies whether outdated packages should be upgraded. Possible values for <TYPE> is Auto (default) or Prompt.

Screenshot of dotnet-outdated

Specifying the path

You can run dotnet-outdated without specifying the Path argument. In this case, it will look in the current directory for a solution (.sln) and if one is found it will analyze that solution. If no solution is found it will look for a project (.csproj) and if one is found it will analyze that project. If more than one solution or project is found in the current folder, dotnet-outdated will report an error.

You can also pass a directory in the Path argument, in which case the same logic described above will be used, but in the directory specified.

Lastly, you can specify the path to a solution (.sln) or project (.csproj) which dotnet-outdated must analyze.

Upgrading packages

dotnet-outdated can automatically attempt to upgrade any outdated packages to the latest version by passing the -u|--upgrade option. You can let dotnet-outdated prompt you for each outdated package by using the -u:prompt option.

Working with secure feeds

dotnet-outdated supports secure NuGet feeds, such as MyGet. It is suggested that you add these to your sources using the source command of the NuGet CLI. For secure feeds, you can either add a pre-authenticated URL or you can specify the username and password for the feed using the -UserName and -Password options of the nuget sources command.

dotnet-outdated supports computer-level, user-level and project-level configuration files.

Issues on macOS

In my testing, I ran into issues on macOS where the location of the user-level configuration file was not detected correctly. If you run into problems where dotnet-outdated does not appear to pick up your feeds correctly, please add the source to a project-level configuration file.

Also, on macOS and Linux, the password needs to be stored in clear text. You can do this by passing the -StorePasswordInClearText option to the nuget sources command.

Handling pre-release versions

dotnet-outdated allows you to specify whether to use pre-release versions of packages or not by passing the -pr|--pre-release option.

The default value of Auto will determine whether to use pre-release versions of a package based on whether the referenced version itself is a pre-release version. If the referenced version is a pre-release version, dotnet-outdated will include newer pre-release versions of the package. If the referenced version is not a pre-release version, dotnet-outdated will ignore pre-release versions.

You can also tell dotnet-outdated to always include pre-release versions by passing the Always value for this option. Conversely, you can tell it to never include pre-release versions by passing the Never value.

Locking to the current major or minor release

dotnet-outdated allows you to lock the version to the current major or minor version by passing the -vl|--version-lock option.

The default value of None will return the absolute latest package, regardless of whether it is a major or minor version upgrade.

Passing a value of Major will only report on later packages in the current major version range. For example, if the current version for a package is 4.1.0, dotnet-outdated will only report on later packages in the 4.x version range.

Passing a value of Minor will only report on later packages in the current minor version range. For example, if the current version for a package is 4.1.0, dotnet-outdated will only report on later packages in the 4.1.x version range.

Reporting on transitive dependencies

dotnet-outdated supports reporting on transitive dependencies as well. These are NuGet packages on which the NuGet packages directly referenced by your application depends. To enable reporting on transitive dependencies, you can pass the -t|--transitive option.

Screenshot of analysing transitive-dependencies

You can also specify how many levels deep it should analyze transitive dependencies with the -td|--transitive-depth option. You can pass an integer value for this option (the default value is 1).

Be careful with these options!. If you try and analyze dependencies too many levels deep, the analysis can take a very long time.

Auto-references

Before version 1.2 of dotnet-outdated, it used to include automatically references packages in the output. The automatically referenced packages are typically your framework packages, such as Microsoft.NETCore.App or NETStandard.Library. It does not make sense reporting on these as outdated since you should target a new framework to have these updated.

From version 1.2, if you want these packages reported, you can pass the -i|--include-auto-references option. These packages will also be denoted with the text [A] appearing in the output after the package name.

  • .NETCoreApp 2.1
  • .NETCoreApp 2.1: 2.1.0.0

Owners

Jerrie Pelser

Authors

Jerrie Pelser

Project URL

https://github.com/jerriep/dotnet-outdated

License

MIT

Info

43 total downloads
0 downloads for version 1.1.0-pre.35
Download (1.12 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.1.0-pre.96 1.14 MB Fri, 20 Jul 2018 12:33:31 GMT 0
2.1.0-pre.95 1.14 MB Wed, 18 Jul 2018 12:38:13 GMT 0
2.0.0 1.14 MB Wed, 18 Jul 2018 08:55:58 GMT 2
2.0.0-rtm.93 1.14 MB Wed, 18 Jul 2018 08:53:59 GMT 0
2.0.0-pre.92 1.14 MB Wed, 18 Jul 2018 08:26:44 GMT 1
2.0.0-pre.91 1.14 MB Wed, 18 Jul 2018 08:20:24 GMT 0
2.0.0-pre.90 1.14 MB Wed, 18 Jul 2018 05:07:05 GMT 2
2.0.0-pre.89 1.14 MB Wed, 18 Jul 2018 04:09:39 GMT 1
2.0.0-pre.85 1.14 MB Tue, 17 Jul 2018 09:00:44 GMT 0
2.0.0-pre.84 1.14 MB Tue, 17 Jul 2018 07:29:49 GMT 0
2.0.0-pre.82 1.13 MB Tue, 17 Jul 2018 04:30:56 GMT 0
1.4.0-pre.80 1.13 MB Wed, 11 Jul 2018 02:08:38 GMT 0
1.4.0-pre.79 1.13 MB Wed, 11 Jul 2018 02:01:34 GMT 0
1.4.0-pre.76 1.13 MB Tue, 10 Jul 2018 04:27:24 GMT 1
1.4.0-pre.75 1.13 MB Fri, 06 Jul 2018 08:27:25 GMT 0
1.3.0 1.13 MB Fri, 06 Jul 2018 08:16:09 GMT 2
1.3.0-rtm.73 1.13 MB Fri, 06 Jul 2018 08:11:17 GMT 0
1.3.0-pre.72 1.13 MB Fri, 06 Jul 2018 06:16:23 GMT 1
1.3.0-pre.71 1.13 MB Fri, 06 Jul 2018 04:54:13 GMT 0
1.3.0-pre.70 1.13 MB Fri, 06 Jul 2018 04:25:59 GMT 2
1.3.0-pre.68 1.13 MB Fri, 06 Jul 2018 03:59:41 GMT 0
1.3.0-pre.67 1.13 MB Fri, 06 Jul 2018 03:57:16 GMT 0
1.3.0-pre.66 1.13 MB Fri, 06 Jul 2018 03:56:27 GMT 0
1.3.0-pre.62 1.13 MB Thu, 21 Jun 2018 06:01:02 GMT 0
1.2.0 1.13 MB Thu, 21 Jun 2018 05:10:14 GMT 2
1.2.0-rtm.60 1.13 MB Thu, 21 Jun 2018 05:05:56 GMT 0
1.2.0-pre.59 1.13 MB Thu, 21 Jun 2018 04:01:40 GMT 1
1.2.0-pre.58 1.13 MB Thu, 21 Jun 2018 03:52:37 GMT 1
1.2.0-pre.57 1.13 MB Wed, 20 Jun 2018 10:11:27 GMT 1
1.2.0-pre.56 1.13 MB Wed, 20 Jun 2018 08:54:53 GMT 0
1.2.0-pre.55 1.13 MB Wed, 20 Jun 2018 05:36:46 GMT 0
1.2.0-pre.54 1.13 MB Wed, 13 Jun 2018 04:09:11 GMT 0
1.1.0 1.13 MB Wed, 13 Jun 2018 04:05:00 GMT 1
1.1.0-rtm.52 1.13 MB Wed, 13 Jun 2018 03:56:54 GMT 1
1.1.0-pre.51 1.13 MB Wed, 13 Jun 2018 03:26:50 GMT 1
1.1.0-pre.50 1.13 MB Wed, 13 Jun 2018 03:10:13 GMT 0
1.1.0-pre.49 1.13 MB Tue, 12 Jun 2018 04:06:01 GMT 0
1.1.0-pre.48 1.13 MB Mon, 11 Jun 2018 08:48:25 GMT 0
1.1.0-pre.47 1.13 MB Mon, 11 Jun 2018 08:26:34 GMT 0
1.1.0-pre.46 1.13 MB Fri, 08 Jun 2018 08:04:15 GMT 0
1.1.0-pre.44 1.13 MB Thu, 07 Jun 2018 08:31:46 GMT 0
1.1.0-pre.43 1.13 MB Thu, 07 Jun 2018 08:06:19 GMT 0
1.1.0-pre.36 1.12 MB Wed, 06 Jun 2018 00:40:29 GMT 6
1.1.0-pre.35 1.12 MB Sun, 03 Jun 2018 07:11:57 GMT 0
1.1.0-pre.33 1.12 MB Thu, 31 May 2018 03:21:54 GMT 0
1.0.0 1.12 MB Thu, 31 May 2018 03:17:51 GMT 1
1.0.0-rtm.31 1.12 MB Thu, 31 May 2018 03:16:01 GMT 0
1.0.0-rtm.30 1.12 MB Thu, 31 May 2018 02:45:15 GMT 1
0.3.0 1.12 MB Mon, 28 May 2018 08:56:44 GMT 4
0.3.0-rtm.28 1.12 MB Mon, 28 May 2018 08:54:48 GMT 0
0.3.0-pre.27 1.12 MB Mon, 28 May 2018 08:11:37 GMT 1
0.3.0-pre.26 1.12 MB Mon, 28 May 2018 04:55:13 GMT 0
0.3.0-pre.25 1.12 MB Mon, 28 May 2018 04:45:48 GMT 0
0.3.0-pre.23 1.12 MB Fri, 25 May 2018 06:43:56 GMT 1
0.3.0-pre.22 1.12 MB Fri, 25 May 2018 02:24:48 GMT 0
0.3.0-pre.21 1.12 MB Thu, 24 May 2018 13:57:00 GMT 2
0.3.0-pre.20 1.12 MB Thu, 24 May 2018 08:14:38 GMT 0
0.3.0-pre.19 1.12 MB Thu, 24 May 2018 05:08:47 GMT 1
0.3.0-pre.18 1.12 MB Thu, 24 May 2018 04:34:53 GMT 1
0.3.0-pre.17 1.12 MB Thu, 24 May 2018 04:32:08 GMT 0
0.3.0-pre.15 3.42 MB Fri, 18 May 2018 09:20:16 GMT 0
0.2.0 3.42 MB Fri, 18 May 2018 09:04:06 GMT 1
0.2.0-rtm.13 3.42 MB Fri, 18 May 2018 09:01:40 GMT 0
0.2.0-pre.12 3.42 MB Fri, 18 May 2018 07:43:00 GMT 1
0.2.0-pre.11 3.42 MB Fri, 18 May 2018 06:48:26 GMT 0
0.2.0-pre.10 3.42 MB Fri, 18 May 2018 06:44:34 GMT 0
0.2.0-pre.9 3.42 MB Fri, 18 May 2018 06:26:55 GMT 0
0.2.0-pre.8 3.42 MB Fri, 18 May 2018 06:14:54 GMT 0
0.1.0 3.42 MB Thu, 17 May 2018 04:01:42 GMT 1
0.1.0-rtm.7 3.42 MB Thu, 17 May 2018 11:58:37 GMT 0
0.1.0-rtm.4 3.42 MB Thu, 17 May 2018 03:25:32 GMT 0
0.1.0-pre.3 3.42 MB Thu, 17 May 2018 03:03:08 GMT 1
0.1.0-pre.2 3.42 MB Thu, 17 May 2018 02:57:36 GMT 1