get a list of all nuget packages used in a solution code example
Example: get a list of all nuget packages used in a solution
Run this command
Get-Package | Select-Object Id, Version, LicenseUrl, ProjectName
in package manager console in Visual Studio.