Reputation: 125
Install multiple packages at once using some nuget commands.
In my solution I have much projects and it takes a lot of time to install each package via gui, need help to install all of those with a single command.
Upvotes: 0
Views: 751
Reputation: 9861
The Update-Package command will install and update all packages in all projects:
http://docs.nuget.org/Consume/Package-Manager-Console-PowerShell-Reference#update-package
You can provide additional attributes into this command and it will update packages appropriately.
Upvotes: 1
Reputation: 1148
You could write a powershell script to do it. ie. something like:
Install-Package package1 -ProjectName project
Install-Package package2 -ProjectName project
Install-Package package3 -ProjectName project
Then you could just right-click on the script in Windows explorer and run it.
Upvotes: 0