There are times when you need odds things to do.
For example when you develop a system you need to track external libraries that you use. Why? From a legal perspective, the licensing of each library needs to be checked and validated with the legal department and with the end client.
And now, how we can get a list of all Nuget packages that we are using in a solution?
The solution is simple and can be done directly from Package Manager Console (Tools>Nuget Package Manager>Package Manager Console)
For example when you develop a system you need to track external libraries that you use. Why? From a legal perspective, the licensing of each library needs to be checked and validated with the legal department and with the end client.
And now, how we can get a list of all Nuget packages that we are using in a solution?
The solution is simple and can be done directly from Package Manager Console (Tools>Nuget Package Manager>Package Manager Console)
Get-Package
The output of this command will be a list of packages that are used by the open solution. You can filter the result of get the packages that are used only by a specific project, but we didn't need something like this.
Comments
Post a Comment