I have created a new .net core project with Visual Studio 2017, then add a nuget package Newtonsoft.Json
to the project. After that I know the package will cached at the folder C:\Users\<UserName>\.nuget\packages
.
For some reason, I have to delete it, then I want to restore it, but I could not restore it with nuget.exe. nuget.exe restore
, command can be executed successfully, but the package is not downloaded to that folder.
I also have tried the command MSBuild /t:restore
, but it still does not work, package not download.
Any suggestion?