Azure 部署时出现 Nuget 3.0 错误
Nuget 3.0 error on azure deployment
我有一个 VS2015 项目,我已将其作为 Web 应用程序成功部署到 Azure(通过 Github)。
但是,在进行一些离线更新后,当我部署时,出现错误
The 'System.Net.Http 4.0.0' package requires NuGet client version '3.0' or above, but the current NuGet version is '2.8.60717.93'."
web 应用服务器上是否安装了 nuget 3.0?我该如何使用它?
NuGet 不在应用程序服务器上运行,它在构建服务器上运行。确保您的生成服务器具有最新的 NuGet 客户端。看到这个 .
我最终将 System.Net.Http 4.0.0
包恢复到旧版本,该版本适用于 NuGet 版本 2.8.60717.93。
我有一个 VS2015 项目,我已将其作为 Web 应用程序成功部署到 Azure(通过 Github)。 但是,在进行一些离线更新后,当我部署时,出现错误
The 'System.Net.Http 4.0.0' package requires NuGet client version '3.0' or above, but the current NuGet version is '2.8.60717.93'."
web 应用服务器上是否安装了 nuget 3.0?我该如何使用它?
NuGet 不在应用程序服务器上运行,它在构建服务器上运行。确保您的生成服务器具有最新的 NuGet 客户端。看到这个
我最终将 System.Net.Http 4.0.0
包恢复到旧版本,该版本适用于 NuGet 版本 2.8.60717.93。