本文介绍了从Git部署到Azure网站时出错.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将我的网站从asp.net core 1.0升级到asp.net core 2.1之后,我从azure consolo日志中收到此错误:
after upgrade my website from asp.net core 1.0 to asp.net core 2.1 I'm getting this error from azure consolo log:
Using cached version of deployment script (command: 'azure -y --no-dot-deployment -r "D:\home\site\repository" -o "D:\home\site\deployments\tools" --aspNetCore "D:\home\site\repository\src\InvoiceMax.Web\InvoiceMax.Web.csproj" --solutionFile "D:\home\site\repository\InvoiceMax.sln"').
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
Restore completed in 152.76 ms for D:\home\site\repository\src\InvoiceMax.Contracts\InvoiceMax.Contracts.csproj.
Restore completed in 152.76 ms for D:\home\site\repository\src\InvoiceMax.DataAccess\InvoiceMax.DataAccess.csproj.
Restore completed in 152.76 ms for D:\home\site\repository\src\InvoiceMax.Dependencies\InvoiceMax.Dependencies.csproj.
Restore completed in 327.31 ms for D:\home\site\repository\src\InvoiceMax.Web\InvoiceMax.Web.csproj.
Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 125.38 ms for D:\home\site\repository\src\InvoiceMax.DataAccess\InvoiceMax.DataAccess.csproj.
Restore completed in 125.39 ms for D:\home\site\repository\src\InvoiceMax.Contracts\InvoiceMax.Contracts.csproj.
Restore completed in 125.39 ms for D:\home\site\repository\src\InvoiceMax.Dependencies\InvoiceMax.Dependencies.csproj.
Restore completed in 188.38 ms for D:\home\site\repository\src\InvoiceMax.Web\InvoiceMax.Web.csproj.
InvoiceMax.Contracts -> D:\home\site\repository\src\InvoiceMax.Contracts\bin\Release\netstandard2.0\InvoiceMax.Contracts.dll
InvoiceMax.DataAccess -> D:\home\site\repository\src\InvoiceMax.DataAccess\bin\Release\netstandard2.0\InvoiceMax.DataAccess.dll
InvoiceMax.Dependencies -> D:\home\site\repository\src\InvoiceMax.Dependencies\bin\Release\netcoreapp2.1\InvoiceMax.Dependencies.dll
InvoiceMax.Web -> D:\home\site\repository\src\InvoiceMax.Web\bin\Release\netcoreapp2.1\InvoiceMax.Web.dll
InvoiceMax.Web -> D:\home\site\repository\src\InvoiceMax.Web\bin\Release\netcoreapp2.1\InvoiceMax.Web.Views.dll
Command 'starter.cmd "D:\home\site\d ...' was aborted due to no output nor CPU activity for 60 seconds. You can increase the SCM_COMMAND_IDLE_TIMEOUT app setting (or WEBJOBS_IDLE_TIMEOUT if this is a WebJob) if needed.\r\nstarter.cmd "D:\home\site\deployments\tools\deploy.cmd"
One or more errors occurred.
Command 'starter.cmd "D:\home\site\d ...' was aborted due to no output nor CPU activity for 60 seconds. You can increase the SCM_COMMAND_IDLE_TIMEOUT app setting (or WEBJOBS_IDLE_TIMEOUT if this is a WebJob) if needed.\r\nstarter.cmd "D:\home\site\deployments\tools\deploy.cmd"
知道我需要做什么吗?
推荐答案
2.您是否要遵循Azure文档来实现这一目标?如果是,请分享.
2. Is there an Azure document you are following to achieve this? If yes, please share.
这篇关于从Git部署到Azure网站时出错.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!