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.
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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.