【发布时间】:2018-02-20 21:17:46
【问题描述】:
活动日志
命令:“D:\home\site\deployments\tools\deploy.cmd” 处理 .NET Web 应用程序部署。 D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'Microsoft.Bcl 1.1.10' package requires NuGet client version '2.8.1' or above, 但当前 NuGet 版本为'2.6.40619.9041'。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'Microsoft.Bcl.Async 1.0.168' package requires NuGet client version '2.8.1' or above, but current NuGet版本是“2.6.40619.9041”。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'Microsoft.Bcl.Build 1.0.21' package requires NuGet client version '2.8.1' or above, but the current NuGet版本是“2.6.40619.9041”。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'Microsoft.Net.Http 2.2.29' package requires NuGet client version '2.8.1' or above, but the current NuGet版本是“2.6.40619.9041”。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'Newtonsoft.Json 10.0.3' package requires NuGet client version '2.12' or above, 但当前 NuGet 版本是 '2.6 .40619.9041'。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'System.Net.Http 4.3.3' package requires NuGet client version '2.12' or above, 但当前 NuGet 版本为'2.6.40619.9041'。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'System.Security.Cryptography.Algorithms 4.3.1' package requires NuGet client version '2.12' or above, but current 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): error : The 'System.Security.Cryptography.Primitives 4.3.0' package requires NuGet client version '2.12' or above, but the current NuGet版本是“2.6.40619.9041”。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'System.Security.Cryptography.X509Certificates 4.3.2' package requires NuGet client version '2.12' or above, but the current NuGet版本是“2.6.40619.9041”。 [D:\home\site\repository\Plantao.Web\Plantao.Web.csproj] D:\home\site\repository.nuget\NuGet.targets(89,9): error : The 'System.ValueTuple 4.4.0' package requires NuGet client version '2.12' or above, 但当前 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: The command ""...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] 失败 exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\Plantao.Web\Plantao.Web.csproj" /nologo /详细程度:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:\local\Temp\8d578a48eacd291";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;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 visual-studio-2017 nuget continuous-deployment kudu