PackageUsage 1.2.1
dotnet tool install --global PackageUsage --version 1.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local PackageUsage --version 1.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=PackageUsage&version=1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package PackageUsage --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
package-usage
A dotnet global tool to inspect package versions across your projects.
Displays all packages used by your projects, grouped by package name, then lists all the different versions of each package.
Might help you notice version discrepancies, unnecessary references, outdated packages, or plan ahead for migration to central package management.
Sample output:
FluentAssertions
5.10.3, Contoso.Product.Api
6.3.0, Contoso.Product.Database
6.5.1, Contoso.Product.Tests
6.6.0, Contoso.Product.Manager
6.7.0, Contoso.Product.Common
MassTransit
7.1.8, Contoso.Product.Api
8.0.1, Contoso.Product.Manager
Microsoft.AspNetCore.Hosting.Abstractions
3.1.22, Contoso.Product.Common
6.0.6, Contoso.Product.Api
Installation
dotnet tool install -g PackageUsage
Usage
Inside a directory with your solution:
package-usage [--only-different]
or specify path to solution:
package-usage MySolution.sln [--only-different]
Use the optional --only-different
switch to view only packages with different versions across projects. (Skip packages with same version everywhere).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.