I am using Visual Studio 2010 and NuGet 2.0.
Someone checked in a solution that used NuGet for various packages. When I checked the solution and built it, I had the same errors. What else, when I looked at the NuGet package manager from the Tools → Options window, the corresponding checkboxes were already checked in the Restore package.
I tried to click the Clear packet cache button. After that, everything is built correctly.

Jeremy Ray Brown Jun 17 '14 at 15:21 2014-06-17 15:21
source share