Azure应用程序服务连续部署失败

Azure应用程序服务连续部署失败,azure,azure-web-app-service,azure-deployment,Azure,Azure Web App Service,Azure Deployment,我有一个Azure应用程序服务,它有两个部署槽,prod和dev。我从VST设置到dev槽配置了连续部署,它已经正常工作了几个月,但在运行部署命令步骤时突然失败。这是该步骤的日志 Installed: 81 package(s) to packages.config projects D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884

我有一个Azure应用程序服务,它有两个部署槽,prod和dev。我从VST设置到dev槽配置了连续部署,它已经正常工作了几个月,但在运行部署命令步骤时突然失败。这是该步骤的日志

Installed:
    81 package(s) to packages.config projects
D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "ManagedMinimumRules.ruleset". [D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
Services\Data\UserRepository.cs(303,30): warning CS0168: The variable 'e' is declared but never used [D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
  VendorPortalSite -> D:\home\site\repository\VendorPortalSite\bin\VendorPortalSite.dll
D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "ManagedMinimumRules.ruleset". [D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
  VendorPortalSite -> D:\home\site\repository\VendorPortalSite\bin\VendorPortalSite.dll
D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "ManagedMinimumRules.ruleset". [D:\home\site\repository\VendorPortal\VendorPortal.csproj]
  VendorPortal -> D:\home\site\repository\VendorPortal\bin\Release\VendorPortal.exe
D:\home\site\repository\packages\Microsoft.Web.WebJobs.Publish.1.0.12\tools\webjobs.wap.targets(151,5): warning : WebJob schedule for NotifyTeacher will not be created. WebJob schedules can only be created when the publish destination is an Azure Website [D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [D:\home\site\repository\UploadTempData\UploadTempData.csproj]
D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "ManagedMinimumRules.ruleset". [D:\home\site\repository\UploadTempData\UploadTempData.csproj]
  UploadTempData -> D:\home\site\repository\UploadTempData\bin\Release\UploadTempData.exe
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(2673,5): error MSB4062: The "GetProjectProperties" task could not be loaded from the assembly D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll. Could not load file or assembly 'file:///D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
Failed exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:\local\Temp\8d4069364ae5648";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false /p:SolutionDir="D:\home\site\repository\.\\"
An error has occurred during web site deployment.
\r\nD:\Program Files (x86)\SiteExtensions\Kudu\59.51102.2512\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
已安装:
81个包到packages.config项目
D:\Program Files(x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9):警告MSB3884:找不到规则集文件“ManagedMinimumRules.ruleset”。[D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
Services\Data\UserRepository.cs(303,30):警告CS0168:变量“e”已声明但从未使用[D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
VendorPortalSite->D:\home\site\repository\VendorPortalSite\bin\VendorPortalSite.dll
D:\Program Files(x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9):警告MSB3884:找不到规则集文件“ManagedMinimumRules.ruleset”。[D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
VendorPortalSite->D:\home\site\repository\VendorPortalSite\bin\VendorPortalSite.dll
D:\Program Files(x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9):警告MSB3884:找不到规则集文件“ManagedMinimumRules.ruleset”。[D:\home\site\repository\VendorPortal\VendorPortal.csproj]
供应商门户->D:\home\site\repository\VendorPortal\bin\Release\VendorPortal.exe
D:\home\site\repository\packages\Microsoft.Web.WebJobs.Publish.1.0.12\tools\WebJobs.wap.targets(151,5):警告:将不会创建NotifyTeacher的WebJob计划。仅当发布目标是Azure网站[D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]时,才能创建WebJob计划
D:\Program Files(x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5):警告MSB3277:在同一依赖程序集的不同版本之间发现无法解决的冲突。当“日志详细性”设置为“详细”时,这些引用冲突将列在生成日志中。[D:\home\site\repository\UploadTempData\UploadTempData.csproj]
D:\Program Files(x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9):警告MSB3884:找不到规则集文件“ManagedMinimumRules.ruleset”。[D:\home\site\repository\UploadTempData\UploadTempData.csproj]
UploadTempData->D:\home\site\repository\UploadTempData\bin\Release\UploadTempData.exe
D:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(2673,5):错误MSB4062:无法从程序集加载“GetProjectProperties”任务D:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll。无法加载文件或程序集的file:///D:\程序文件(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll'或其依赖项之一。系统找不到指定的文件。确认声明正确,程序集及其所有依赖项可用,并且任务包含实现Microsoft.Build.Framework.ITask的公共类。[D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj]
失败的exitCode=1,command=“D:\Program Files(x86)\MSBuild\14.0\Bin\MSBuild.exe”“D:\home\site\repository\VendorPortalSite\VendorPortalSite.csproj”/nologo/verbosity:m/t:Build/t:pipelinePreDeployCopyAllFilesToOneFolder/p:\u PackageTempDir=“D:\local\Temp\8D409364AE5648”;AutoParameterizationWebConfigConnectionStrings=false;配置=释放;UseSharedComplation=false/p:SolutionDir=“D:\home\site\repository\。\”
网站部署期间发生错误。
\r\nD:\Program Files(x86)\SiteExtensions\Kudu\59.51102.2512\bin\Scripts\starter.cmd“D:\home\site\deployments\tools\deploy.cmd”

警告一直存在,以前从未引起和发出过。我试图删除并重新创建插槽,但没有效果。

您是否检查了门户。可能您的webjob已发布,但未配置计划。该webjob已存在数月,但没有计划,当前未使用,以前从未引起过问题。我再次删除并重新创建了的VSTS连接,现在它又神奇地工作了。没有对我的项目或代码进行任何更改。我想这是一个奇怪的更新问题。