gpt4 book ai didi

asp.net - azure 持续部署失败

转载 作者:行者123 更新时间:2023-12-03 04:30:36 25 4
gpt4 key购买 nike

突然间,Azure 持续部署不断失败。查不出原因。这是部署日志,其中发生了失败。

    Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
Restoring packages for D:\home\site\repository\project.json...
CACHE https://api.nuget.org/v3-flatcontainer/microsoft.netcore.platforms/index.json
WARNING: Detected package downgrade: System.Xml.XmlSerializer from 4.0.10-beta-23109 to 4.0.0-beta-23109
repository (>= 1.0.0) -> WindowsAzure.Storage (>= 6.2.2-preview) -> System.Runtime.Serialization.Xml (>= 4.0.10-beta-23109) -> System.Private.DataContractSerialization (>= 4.0.0-beta-23109) -> System.Xml.XmlSerializer (>= 4.0.10-beta-23109)
repository (>= 1.0.0) -> WindowsAzure.Storage (>= 6.2.2-preview) -> System.Xml.XmlSerializer (>= 4.0.0-beta-23109)
Package Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 supports:
- net45 (.NETFramework,Version=v4.5)
- portable-net45+win8 (.NETPortable,Version=v0.0,Profile=Profile7)
Package Microsoft.Data.OData 5.6.4 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package Microsoft.Data.OData 5.6.4 supports:
- net40 (.NETFramework,Version=v4.0)
- portable-net40+sl5+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile328)
- portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
- sl4 (Silverlight,Version=v4.0)
Package Microsoft.Data.Services.Client 5.6.4 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package Microsoft.Data.Services.Client 5.6.4 supports:
- net40 (.NETFramework,Version=v4.0)
- portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
- sl4 (Silverlight,Version=v4.0)
Package System.Spatial 5.6.4 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package System.Spatial 5.6.4 supports:

使用最新版本的代码、之前成功部署的版本、新应用程序、新应用程序和不同的应用程序进行了尝试。

最佳答案

如果我不得不猜测,我会说他们正在使用新的 NuGet,这可能意味着您需要更新 project.json 文件以添加导入语句以添加 PCL 和 DNX 之间的兼容性。

关于asp.net - azure 持续部署失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37326414/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com