我的机器上装有VS2017和VS2019。我在VS2019解决方案资源管理器中缺少很多nuget引用(黄色图标)。我尝试做一个Restore Nuget软件包,我看到:
All packages are already installed and there is nothing to restore.
Time Elapsed: 00:00:00.0560466
========== Finished ==========
我进入程序包管理器控制台并尝试执行以下操作:
nuget restore MySolution.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.
At line:1 char:1
我在硬盘驱动器上环顾四周,只看到C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ MSBuild \ SqlChangeAutomation \ OctoPack \ build \ NuGet.exe中存在的nuget.exe。>
为什么它在2019年也不存在?
谢谢
我的机器上装有VS2017和VS2019。我在VS2019解决方案资源管理器中缺少很多nuget引用(黄色图标)。我尝试做一个Restore Nuget软件包,然后看到:全部...
您可以从here下载Nuget.exe。