I checked in a project on one computer, checked out on another, and find that the binaries installed by NuGet are missing. I could check them in to source control as well,
Did you enable package restore mode in the project that has the missing packages/binaries ? There's a known issue that requires the packages to be correctly installed when enabling the restore mode :
http://nuget.codeplex.com/workitem/1879
Original link is dead; this might be a replacement: https://github.com/NuGet/Home/issues/1968
None of the other solutions worked in my situation:
AspNetCore dependencies had been installed/uninstalled and were being cached. 'AspNetCore.All' would refuse to properly update/reinstall/remove. And regardless of what i did, it would use the cached dependencies (that it was not compatible with), because they were a higher version.
PackageReference
bin
, obj
foldersTools > Nuget Package Manager > Package Manager
Settings
and Clear all Nuget caches
. Check the console because it may
fail to remove some items - copy the folder path and exit visual
studio. If that still doesn't work, repeat but also search your drive in windows explorer for nuget
and delete anything cachey looking.