Install multiple packages

Feb 23, 2011 at 10:47 PM

Hello,

Is it possible to create a script (or maybe test?) that installs many packages automatically?

Most of my MVC web projects use common packages so I would like to create a script to:

- Check if the packages are installed

- If not then install them

Thank You,

Miguel

Feb 25, 2011 at 7:31 PM

In the nuget PowerShell console, it should be a matter of having a script that just calls 'install-package' on all the packages that you care about. You can also look at Eric Hexter's solution factory.