I have such error in vs 2012: NuGet Package restore failed for project Miscellaneous Files: Value cannot be null or an empty string. Parameter name: root. 0 0
I see
Just as a brief note. I got this error by running the project on a mapped network drive i.e. T:\NetworkFolder\Project\Solution.sln.
T:\NetworkFolder\Project\Solution.sln
Obviously the solution is simple - don't do this - copy it onto your machine. Might save someone some pain at some point.