Error "No file format header found." running NuGet restore
It turns out that the name packages.config is expected, but any other config file name is rejected.
My solution was to put my bigpackages.config file in a subfolder, using the accepted filename. This command succeeds:
Nuget.exe restore [path]\big\packages.config -PackagesDirectory [path]\build\packages