首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >azure连续部署失败,因为部署命令中的nuget客户端版本错误

azure连续部署失败,因为部署命令中的nuget客户端版本错误
EN

Stack Overflow用户
提问于 2018-02-20 21:17:46
回答 1查看 113关注 0票数 1

活动日志

命令:"D:\home\site\deployments\tools\deploy.cmd“处理.NET网络应用程序部署。D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'Microsoft.Bcl 1.1.10‘包需要NuGet客户端版本'2.8.1’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'Microsoft.Bcl.Async 1.0.168‘包需要NuGet客户端版本'2.8.1’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'Microsoft.Bcl.Build 1.0.21‘包需要NuGet客户端版本'2.8.1’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'Microsoft.Net.Http 2.2.29‘包需要NuGet客户端版本'2.8.1’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'Newtonsoft.Json 10.0.3‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'System.Net.Http 4.3.3‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'System.Security.Cryptography.Algorithms 4.3.1‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'System.Security.Cryptography.Encoding 4.3.0‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'System.Security.Cryptography.Primitives 4.3.0‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'System.Security.Cryptography.X509Certificates 4.3.2‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):错误:'System.ValueTuple 4.4.0‘包需要NuGet客户端版本'2.12’或更高版本,但是当前的NuGet版本是'2.6.40619.9041‘。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj D:\home\site\repository.nuget\NuGet.targets(89,9):error MSB3073:命令“...nuget\NuGet.exe”install "D:\home\site\repository\Plantao.Web\packages.config“-source”-NonInteractive -RequireConsent -solutionDir "..\“与代码1一起退出。D:\home\site\repository\Plantao.Web\Plantao.Web.csproj Failed exitCode=1,"D:\home\site\repository\Plantao.Web\Plantao.Web.csproj“/p:_PackageTempDir="D:\local\Temp\8d578a48eacd291";command="D:\Program (x86)\MSBuild\14.0\Bin\MSBuild.exe”AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false网站部署过程中发生错误。\r\nD:\Program (x86)\SiteExtensions\Kudu\71.10217.3259\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd“

据我所知,我们需要更新kudu NuGet客户端,但在互联网上我什么也不能做。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-02-20 22:30:28

Azure安装了nuget 4.3.0.4406,默认情况下,这是在构建项目时用于还原包的

我快速浏览了一下你的网站:

您在.nuget/文件夹下查看了自己版本的nuget,这是故意的吗?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48894353

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档