Is is advisable to check in the NuGet packages.config
to my VCS (eg Mercurial)? Or is it better to ignore the file?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.