title: Get a list of all NuGet packages used in a solution
body: <p>I'm looking for a way to get a list of all used NuGet packages in every project in a solution (and specifically the version) using command-line script and not manually in Visual Studio.</p>
  
  <p>Using the Package Manager Console with the command "Get-Package" gives me what I want, but it is unavailable outside of VS.</p>
  
  <p>I'm using is a local NuGet feed.
  My default package management format is PackageReference.</p>
  
  <p>Any idea would be helpful</p>