Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NuGet packages.config in VCS or not?

Is is advisable to check in the NuGet packages.config to my VCS (e.g. Mercurial)? Or is it better to ignore the file?

like image 408
Horst Walter Avatar asked Dec 30 '12 21:12

Horst Walter


1 Answers

Definitely check this in.

When someone else clones/forks/copies your repository from the the repo-source(aka Origin) they need to know which packages the solution requires.

This is the magic file that has those answers.

NOTE: having this file does not mean you have the actual nuget packages on the person's local computer. That's a different topic -> i personally always have Nuget Package Restore set to on, for every solution.

like image 150
Pure.Krome Avatar answered Nov 15 '22 09:11

Pure.Krome