I try to run the following nuget command , in the "D:\work\Development\" directory there is solution file
nuget.exe restore D:\work\Development\
I received an error
Could not find a part of the path C:\work\Development
When I copy the nuget.exe file to the directory D:\work\Development and run resotre like so
nuget.exe restore
from there it works
How can I make restore work from another directory than the one my solution is in?
What I ended up doing is using restore from with a relative path like so :
nuget.exe restore ..\
You should pass in the path to the .sln file, such as D:\work\Development\mysolution.sln or path to the packages.config file.
Please refer to this doc for how to use the nuget.exe restore command.
http://docs.nuget.org/docs/reference/command-line-reference#Restore_command
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With