It's a different behavior from 2.6. Here the "Restore NuGet packages..." and the "To prevent ..." need not to be present.
Repro:
c:\temp>NuGet.exe install MvcApplication1\MvcApplication1\packages.config -sourc
e abc
Restoring NuGet packages...
To prevent NuGet from downloading packages during build, open the Visual Studio
Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to do
wnload missing packages'.
Invalid URI: The format of the URI could not be determined.
c:\temp>\\nuget-ci\Drops\2.6\latest-successful\NuGet.exe install c:\temp\MvcAppl
ication1\MvcApplication1\packages.config -source abc
Invalid URI: The format of the URI could not be determined.
Comments: Good catch. We can close this as a dupe of https://nuget.codeplex.com/workitem/3566, where I've indicated that the output is unnecessary there.
Repro:
c:\temp>NuGet.exe install MvcApplication1\MvcApplication1\packages.config -sourc
e abc
Restoring NuGet packages...
To prevent NuGet from downloading packages during build, open the Visual Studio
Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to do
wnload missing packages'.
Invalid URI: The format of the URI could not be determined.
c:\temp>\\nuget-ci\Drops\2.6\latest-successful\NuGet.exe install c:\temp\MvcAppl
ication1\MvcApplication1\packages.config -source abc
Invalid URI: The format of the URI could not be determined.
Comments: Good catch. We can close this as a dupe of https://nuget.codeplex.com/workitem/3566, where I've indicated that the output is unnecessary there.