可能是因为 NuGet 没有安装或者安装不完整, 你可以从 NuGet 官方网站重新下载 NuGet 安装程序,安装完成后,记得重新启动 Visual Studiohttps://www.nuget.org/downloads