当我尝试编译我的程序时,出现以下错误:
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567.
现在当我右键点击解决方案并按下 键时All packages are already installed and there is nothing to restore.
我尝试手动重新安装每个软件包,但这并没有解决问题。我尝试重新安装NuGet,但也没有帮助,甚至尝试重新安装Visual Studio。
我还尝试将软件包文件夹从TFS文件夹移动到覆盖我的软件包文件夹,但这并没有解决任何问题。我还尝试使用缺失此软件包的方法重新下载它们,但也没有解决问题。
有人知道如何恢复NuGet软件包吗?
nuget restore mysolution.sln
无效,我收到了此错误消息:"PM> nuget restore reco.sln nuget : The term 'nuget' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
"。 - Dai