It seems whenever a package is installed through nuget TFS doesn't pick up the dlls files for that pacakge and it's becoming a pain working on the project with multiple developers when new DLLs are being added and old ones updated.?
The 'packages' folder is being checked in.
I've searched google and seem to find people with the same problem but no solution.
Is there a solution to this problem?
Just build the class library by clicking the right click on solution explorer and you will see the NameOfLibrary. dll file in packages folder of your project directory. packages folder isn't displaying as folder in solution explorer. You can see them as References.
Switch to the Browse tab, search for the package name, select it, then select Install). For all packages, delete the package folder, then run nuget install . For a single package, delete the package folder and use nuget install <id> to reinstall the same one.
nuget folder is used as a cache for packages downloaded to speed up project restore and compilation. It can safely be removed.
I would suggest not checking in the packages folder, and instead enable Package Restore.
Check out TFS NuGetter, an integrated NuGet solution into TFS build process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With