I'm using NuGet 2.1.31002.9028 and Visual Studio 2012.
Steps that produce the issue:
- New Project
- Enable NuGet Package Restore
- Install any package
- Build project
Error 1 The system cannot find the path specified. ConsoleApplication3
Error 2 The command ""D:\Code\ConsoleApplication3.nuget\nuget.exe" install "D:\Code\ConsoleApplication3\ConsoleApplication3\packages.config" -source "" -RequireConsent -solutionDir "D:\Code\ConsoleApplication3\ ""
exited with code -1. ConsoleApplication3
The command runs fine in a command prompt. Also worth mentioning that the issue doesn't appear on my other machine.