簡體   English   中英

azure連續部署失敗,部署命令上出現nuget客戶端版本錯誤

[英]azure continuous deployment fails with nuget client version error on deployment command

活動日志中的快照

活動記錄

命令:“ D:\\ home \\ site \\ deployments \\ tools \\ deploy.cmd”處理.NET Web應用程序部署。 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):錯誤:The'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):錯誤MSB3073:命令“” ... nuget \\ NuGet.exe“安裝” D:\\ home \\ site \\ repository \\ Plantao.Web \\ packages.config“-源”“ -NonInteractive -RequireConsent -solutionDir” .. \\“”以代碼1退出。[D:\\ home \\ site \\ repository \\ Plantao.Web \\ Plantao.Web.csproj]失敗的exitCode = 1,command =“ D:\\ Program Files(x86)\\ MSBuild \\ 14.0 \\ Bin \\ MSBuild.exe”“ D:\\ home \\ site \\ repository \\ Plantao.Web \\ Plantao.Web.csproj“ / nologo / verbosity:m / t:Build / t:pipelinePreDeployCopyAllFilesToOneFolder / p:_PackageTempDir =” D:\\ local \\ Temp \\ 8d578a48eacd291“; AutoParameterizationWebConfigConnectionStrings = false; Configuration =發布; UseSharedCompilation = false網站部署期間發生錯誤。 \\ r \\ nD:\\ Program Files(x86)\\ SiteExtensions \\ Kudu \\ 71.10217.3259 \\ bin \\ Scripts \\ starter.cmd“ D:\\ home \\ site \\ deployments \\ tools \\ deploy.cmd”

據我了解,我們需要更新kudu NuGet客戶端,但是我在互聯網上對此一無所知

Azure已安裝nuget 4.3.0.4406 ,默認情況下,這是在構建項目時用於還原程序包的nuget 4.3.0.4406

我快速瀏覽了您的kudu網站: 在此處輸入圖片說明

您在.nuget/文件夾下簽入了自己的nuget版本,這是故意的嗎?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM