Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nuget: should I commit the entire content of packages folder?

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 ?

like image 900
Omu Avatar asked Dec 17 '10 14:12

Omu


1 Answers

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.

like image 132
Mark Heath Avatar answered Sep 29 '22 09:09

Mark Heath