Visual Studio + nuget + TFS: checking nuget packages?

I am working on a TFS project with a small team. A bundle of nuget packages was installed in this project, but for project 4.0, and the nuget package manager GUI does not even offer older versions of packages, since their 4.5 equivalents are now used. To allow other team members to compile the project, they must have the exact version of the packages. I would like to check the entire packages folder used by nuget. Is that a good idea? If so, how can I check in the packages folder and all its contents, since it exists at the solution level? In Visual Studio there is no โ€œInclude in solutionโ€ option, as it happens when you right-click on an assembly.

+6
source share
2 answers

in the past, I also checked version control in NuGet packages. There were some problems with this:

  • Some packages that have not verified version control when transferring from Visual Studio to TFS.
  • Updating packages has become a real issue.

For the first problem, I used TFS Power Tools . The problem with this solution is that every developer had to install Power Tools.

The best solution came with NuGet 2.7. He introduced package recovery . When restoring a package, there is no need to check the folder with folders. They will be restored during assembly.

0
source

We use the built-in TFS installation without Internet access, so we need to check our package packs or build failures. The biggest problem is that VS does not behave consistently when it comes to adding pending changes to new package files, often when it will ignore DLL files in the pending changes window, sometimes it adds everything perfectly.

0
source

All Articles