I need to generate a dependency tree (or at least a dependency list) of .NET Framework 4.6.1. project. I need to deliver such a list to the legal department of my company. It's a Windows application with package.config file. I am looking for a command which I can run in terminal to generate dependency tree or list, excluding .NET 4.6.1 runtime packages.
I was trying dotnet list package, but it works only with .NET Core.
I was also trying to run combinations of NuGet commands: Get-Content, Get-Package, Select. The output I receive is different from what I see in Visual Studio:
I would like to see the similar output in my console to Visual Studio window. How do you think I can solve my issue?

