The NuGet Transitive Dependency Finder analyzes .NET projects and solutions to find superfluous dependencies that have been explicitly added to projects. The goal is to simplify dependency management.
Create a new "all" mode for outputting all dependencies, which will allow for the detection of version changes in non-transitive dependencies. This will reduce risk by allowing for the detection of unexpected changes as the result of changing the dependency list.
Proposed Solution
The list of non-transitive dependencies can be readily obtained from the current code, albeit after making some minor changes. This just needs to be exposed via the API and command-line options.
Alternatives Considered
In the future, it would be preferable to automate more of the logic to ensure that removal of transitive dependencies does not lead to other changes. However, that is likely to require significant changes that will delay immediate release. Therefore, the current design was selected as a tradeoff between convenience and speed of delivery.
Thanks for your excellent tool, I needed something just like it but to automatically remove the transitive dependencies as well. I'd happily clean up what I have and submit a pull request if you're looking for contributions of this sort.
Proposed Solution
Submit pull request adding a remove transitive dependencies mode & corresponding flag
.NET 5.0 was released on 10 November 2020. The project should be upgraded from .NET Core 3.1 and .NET Standard 2.1 to the unifying version of .NET 5.0 to simplify the solution and leverage the latest advancements.
Proposed Solution
Upgrading to .NET 5.0.
Alternatives Considered
Leaving the .NET version as is. This will work, but it would mean that the project would become increasingly out of date, unable to leverage the latest advances in .NET.