Asp.net-mvc – nuget: should I commit the entire content of packages folder

asp.net-mvcnuget

I started using nuget and installed some packages, most of them have about 200 KB max but NUnit has 3MB.

My solution is open-source and it is downloaded by lots of people, I'm just thinking: should I commit the entire packages folder as is or ignore non dll files

how do you guys do ?

Best Answer

NuGet now has the ability for you to re-download the missing packages as a pre-build step, meaning that you only need to commit your packages.config file (and include nuget.exe in a tools folder).

Read Using NuGet Without Committing Packages to Source Control for more details.