I was adding a project that I just completed to TFS source control and noticed that it wanted to add the packages to source control also, but I didn’t want that because you are not supposed to add the NuGet packages. They can be re-downloaded and installed during the build process for anyone that does not have them.
I found this nuget link extremely useful on how to configure the solution to 1) Enable the nuget download and 2) keep the packages from being added to source control.
The basic steps are:
- Enable the NuGet package restore. This will add some NuGet stuff to the solution.
- Add your project to TFS, then of course commit the change.