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:
使用最新版本的代码,使用以前成功部署的版本,新应用程序,新应用程序和不同的应用程序来尝试。
答案 0 :(得分:0)
如果我不得不猜测,我会说他们正在使用新的NuGet,这可能意味着你需要更新你的project.json文件来添加import语句以增加PCL和DNX之间的兼容性。
答案 1 :(得分:0)
要解决此问题,您可以指定适用于您的项目的System.Xml.XmlSerializer
包的特定版本。
以下是如何解决RC2特有的解释。不确定RC1的版本。
https://github.com/aspnet/Home/issues/1469#issuecomment-220251320