Question

I just inherited a large enterprise system that appears to use NuGet.

I have just read the basics on what NuGet is so pardon the simpleness of my questions.

Is there a way to tell NuGet to update and install all the packages needed to run the system? I am right now running and seeing what fails then guessing what NuGet packages are missing.

(No, there was no documentation in the enterprise system or many code comments, ugh)

Was it helpful?

Solution

From the package manager console try Update-Package –Project ProjectName

Visual Studio -> Tools -> Library Package Manager -> Package Manager Console

http://nuget.codeplex.com/wikipage?title=Updating%20All%20Packages

If the solution is configured to enable Nuget Package Restore you could also just delete the packages folder and rebuild all which would get everything that you needed. If you need to worry about javascript, configuration, etc... I would try the Update-Package route

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top