Restoring nuget packages
I’ve been encountering nasty issues with nuget packages that visual studio cannot restore automatically and found myself spending time in the nuget package manager reinstalling things manually.
This little trick worked when countless others had not:
Try to re-install the packages.
At the NuGet console say: Update-Package -Reinstall -ProjectName Your.Project.Name
Omit ‘-ProjectName’ parameter if you want to re-install packages and restore references for the whole solution.