A tool that help you find transitive package references that can be removed.
> snitch --tfm net462
Results in:
Analyzing...
Analyzing Snitch.Tests.Fixtures.sln
Analyzing Foo...
Analyzing Bar...
Analyzing Baz...
Analyzing Qux...
Analyzing Zap...
Analyzing Quux...
Analyzing Quuux...
Analyzing Thud...
Analyzing Thuuud...
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Packages that can be removed from Bar: โ
โ โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Package โ Referenced by โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Autofac โ Foo โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Packages that can be removed from Baz: โ
โ โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Package โ Referenced by โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Autofac โ Foo โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Packages that might be removed from Qux: โ
โ โโโโโโโโโโโโโฌโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Package โ Version โ Reason โ โ
โ โโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Autofac โ 4.9.3 โ Downgraded from 4.9.4 in Foo โ โ
โ โโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Packages that might be removed from Zap: โ
โ โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Package โ Version โ Reason โ โ
โ โโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Newtonsoft.Json โ 12.0.3 โ Updated from 12.0.1 in Foo โ โ
โ โ Autofac โ 4.9.3 โ Downgraded from 4.9.4 in Foo โ โ
โ โโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Packages that might be removed from Thuuud: โ
โ โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Package โ Version โ Reason โ โ
โ โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Newtonsoft.Json โ 13.0.2-beta2 โ Updated from 12.0.1 in Foo โ โ
โ โโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
> dotnet tool install -g snitch
Examine a specific project or solution using the first built target framework.
> snitch MyProject.csproj
Examine a specific project using a specific target framework moniker.
> snitch MyProject.csproj --tfm net462
Examine a specific project using a specific target framework moniker and return exit code 0 only if there was no transitive package collisions. Useful for continuous integration.
> snitch MyProject.csproj --tfm net462 --strict
Examine a specific project using a specific target framework moniker and make sure that the packages Foo and Bar are excluded from the result.
> snitch MyProject.csproj --tfm net462 --exclude Foo --exclude Bar
Examine a specific project using a specific target framework moniker and exclude the project OtherProject from analysis.
> snitch MyProject.csproj --tfm net462 --skip OtherProject
Examine a specific project or solution to make sure there are no pre-release package references.
> snitch MyProject.csproj --no-prerelease
> dotnet tool restore
> dotnet cake
Hollow designed by Ben Davis from The Noun Project.