在VS 2017更新后,Nuget已安装面板为空

exe*_*bat 6 asp.net visual-studio nuget visual-studio-2017

我今天将VS更新为15.7.3版本,现在我的Nuget面板已经安装了包.不是空的,但只显示System.Runtime.

我的项目中有一个packages.config文件,在更新之前一切正常.

解决方案也不会构建.它显示以下错误

This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets. C:\Users\User\Source\Repos\xxxx1-sol\xxxx1\xxxx1.csproj 6039    
Run Code Online (Sandbox Code Playgroud)

可能是什么问题?

更新1

我尝试再次安装所有的软件包,在我安装了几个软件包后,我在References中看到了这个

参考窗口

更新2:

我尝试删除.packages文件夹,然后再通过Nuget再次安装软件包,并且没有创建文件夹.packages

我的项目路径是C:\ Users\User\Source\Repos\Project123-Git

另外我看到现在我在C:\ Users\User.nuget中有一个文件夹.nuget,其中包含文件夹包.

我也尝试删除文件packages.config,但即使packages.config不存在,Nuget仍然有我新安装的软件包

exe*_*bat 1

在 Github Nuget 页面上提出建议后,我设法找到了解决方案

https://github.com/NuGet/Home/issues/7013

我卸载了该项目,打开了项目文件并从中删除了所有 PackageReference 节点。然后我删除了 obj 文件夹,Nuget 再次开始识别我的包。项目现在构建得很好。

感谢大家的帮助