I want to list all available updates from the nuget commandline. If I run
nuget update Solution.sln -verbosity detailed
it starts trying to update the packages immediately. I only want to list which ones are available. How do I do this?
Open the Package Manager Console (select Tools > NuGet Package Manager > Package Manager Console). Ensure that the Package Source option is set to DevExpress NuGet feed. Type Update-Package.
go to the Project or Solution in question. right click, Manage NuGet Packages... on the left, you will see 'Installed Packages' click on this and you will see the list.
The NuGet Command Line Interface (CLI), nuget.exe , provides the full extent of NuGet functionality to install, create, publish, and manage packages without making any changes to project files.
Because NUPKG files are compressed with zip compression, you can also extract the files contained within them using zip utilities such as: Microsoft File Explorer (Windows) 7-Zip (Windows)
So if you use the NuGet Powershell Console in Visual Studio, you can do update-package -whatif
to get a list of all the packages that would be updated in the current solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With