DotNetWhy 2.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global DotNetWhy --version 2.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local DotNetWhy --version 2.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DotNetWhy&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DotNetWhy --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
![]() |
---|
dotnet why - a .NET global tool to show information about why a NuGet package is installed |
Installation
Download and install the .NET 6/8 SDK.
Once installed, run the following command:
> dotnet tool install -g DotNetWhy
Example
> dotnet why Newtonsoft.Json
Why...?
* is the *Newtonsoft.Json* package
* in the C:\DotNetWhy directory
Answer:
* DotNetWhy [2]
** DotNetWhy.Core [2/2]
*** net6.0 [1/2]
1. NuGet.ProjectModel (6.7.0) > NuGet.DependencyResolver.Core (6.7.0) > NuGet.Protocol (6.7.0) >
NuGet.Packaging (6.7.0) > Newtonsoft.Json (13.0.1)
*** net8.0 [1/2]
1. NuGet.ProjectModel (6.7.0) > NuGet.DependencyResolver.Core (6.7.0) > NuGet.Protocol (6.7.0) >
NuGet.Packaging (6.7.0) > Newtonsoft.Json (13.0.1)
Time elapsed: 00:00:03.01
Usage
The mandatory query argument for dotnet why
command is package name:
> dotnet why Newtonsoft.Json
At this moment, the only additional optional query argument for dotnet why
command is --version|-v
option:
> dotnet why Newtonsoft.Json --version 13.0.1
> dotnet why Newtonsoft.Json -v 13.0.2
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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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.
Version | Downloads | Last Updated |
---|---|---|
2.1.0 | 2,801 | 6/14/2024 |
2.0.3 | 349 | 11/15/2023 |
2.0.2 | 199 | 11/15/2023 |
2.0.1 | 152 | 11/14/2023 |
2.0.0 | 142 | 11/14/2023 |
1.8.0 | 3,709 | 2/26/2023 |
1.7.2 | 312 | 2/25/2023 |
1.7.1 | 368 | 11/22/2022 |
1.7.0 | 376 | 11/11/2022 |
1.6.5 | 487 | 9/19/2022 |
1.6.4 | 517 | 9/18/2022 |
1.6.3 | 484 | 9/17/2022 |
1.6.2 | 494 | 9/14/2022 |
1.6.1 | 448 | 9/11/2022 |
1.6.0 | 453 | 9/11/2022 |
1.5.0 | 458 | 9/3/2022 |
See https://github.com/tadamczyk/DotNetWhy/releases for release notes.