拉出一些代码更新后,我发现我在构建时收到了此消息。某些NuGet包在Visual Studio应用程序中的解决方案中缺失
Some NuGet packages are missing from the solution.
The packages need to be restored in order to build the dependency graph.
Restore the packages before performing any operations
在Solution Explorer与丢失的引用图标
显示的引用链接我删除了参考文献,然后在包管理器控制台的按钮出现,问我是否想安装缺少的包。但是,这并没有奏效。
右键单击解决方案,恢复Nuget包。 – user3185569
只需在NuGet命令行中键入restore? – Fang
哎呀,我是右键点击该项目。当我右键点击解决方案时,该选项可用。 –