View NuGet package dependency hierarchy

后端 未结 10 1358
遇见更好的自我
遇见更好的自我 2020-12-07 16:24

Is there a way, either textual or graphical, to view the hierarchy of dependencies between NuGet packages?

10条回答
  •  被撕碎了的回忆
    2020-12-07 17:12

    I've found a nice NPM package to print the dependency tree into console. Of course if you don't mind using/installing NPM/Node.JS.

    Considering other solutions, this is the most simple one, you don't need to write your own code or register something, and you get just such dependency tree as you expect. But it works only with packages.config format.

    I can't believe this functionality is absent in free Visual Studio editions or nuget.exe too.

提交回复
热议问题