简体   繁体   中英

Do I need to add all packages from nuget into TFS source control if I want a CI setup?

I'm using team foundation service with Git, and I notice when I first checked in my code, all the dlls in the packages folder were not included.

1) If I want to set up CI on the cloud, would I then have to include all these nuget packages into source control?

2) If I have multiple projects, do I have to upload the same dlls for each project into source control also?

3) What is a common strategy to multiple projects, all of them with very similar, if not similar dll references when checking them into source control + CI?

Have a look at NuGet Package Restore . In a nutshell, it will automatically download missing packages from nuget.org, so you don't have do commit them.

The latest version (2.7) introduced some breaking changes so check the version you are using...

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM