Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/288.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 从GitHub部署到Azure时出错_C#_Asp.net_Azure_Asp.net Core_Dnx - Fatal编程技术网

C# 从GitHub部署到Azure时出错

C# 从GitHub部署到Azure时出错,c#,asp.net,azure,asp.net-core,dnx,C#,Asp.net,Azure,Asp.net Core,Dnx,各位 我正在尝试将我的web应用发布到Azure,并将其用作Azure门户中的部署源 项目已成功获取,但当建筑启动时,“运行部署命令…”失败: 使用Visual Studio 2015,项目在本地环境中运行完全正常。我在项目中看到了对RC1的引用。RC2刚在5月中旬发布,所以我建议继续使用RC2,因为你在RC2发布后就发布了这个问题 关于部署到Azure,以下是当前ASP.NET开发博客关于部署到Azure的内容: 我可以将RC2与Azure Web应用程序一起使用吗? 我们正在向Azure应用

各位

我正在尝试将我的web应用发布到Azure,并将其用作Azure门户中的部署源

项目已成功获取,但当建筑启动时,“运行部署命令…”失败:


使用Visual Studio 2015,项目在本地环境中运行完全正常。

我在项目中看到了对RC1的引用。RC2刚在5月中旬发布,所以我建议继续使用RC2,因为你在RC2发布后就发布了这个问题

关于部署到Azure,以下是当前ASP.NET开发博客关于部署到Azure的内容:

我可以将RC2与Azure Web应用程序一起使用吗?

我们正在向Azure应用程序服务推出RC2,并预计它将于本周晚些时候推出。密切关注Azure博客,了解更多信息 有消息时发布的公告

来源

如果您已经在RC1中完成了大量工作,下面是一个从RC1迁移到RC2的指南:


希望有帮助

我在您的项目中看到了对RC1的引用。RC2刚在5月中旬发布,所以我建议继续使用RC2,因为你在RC2发布后就发布了这个问题

关于部署到Azure,以下是当前ASP.NET开发博客关于部署到Azure的内容:

我可以将RC2与Azure Web应用程序一起使用吗?

我们正在向Azure应用程序服务推出RC2,并预计它将于本周晚些时候推出。密切关注Azure博客,了解更多信息 有消息时发布的公告

来源

如果您已经在RC1中完成了大量工作,下面是一个从RC1迁移到RC2的指南:


希望有帮助

谢谢你的回答。迁移到RC2将是一件痛苦的事情,所以可能不会这么做。我通过单击:构建>发布[project],成功地从Visual Studio 2015(更新2)直接发布到Azure。感谢您的回答。迁移到RC2将是一件痛苦的事情,所以可能不会这么做。我通过单击:构建>发布[project],成功地从Visual Studio 2015(更新2)直接发布到Azure。
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
MSBuild auto-detection: using msbuild version '14.0' from 'D:\Program Files (x86)\MSBuild\14.0\bin'.
Restoring packages for D:\home\site\repository\src\MessyLabAdmin\project.json...
Package Ix-Async 1.2.5 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package Ix-Async 1.2.5 supports:
  - net40 (.NETFramework,Version=v4.0)
  - net45 (.NETFramework,Version=v4.5)
  - portable-net45+win8+wp8 (.NETPortable,Version=v0.0,Profile=Profile78)
Package Remotion.Linq 2.0.1 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package Remotion.Linq 2.0.1 supports:
  - net35 (.NETFramework,Version=v3.5)
  - net40 (.NETFramework,Version=v4.0)
  - net45 (.NETFramework,Version=v4.5)
  - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
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.CodeAnalysis.Common 1.1.0-rc1-20151109-01 is not compatible with dnxcore50 (DNXCore,Version=v5.0). Package Microsoft.CodeAnalysis.Common 1.1.0-rc1-20151109-01 supports:
  - net45 (.NETFramework,Version=v4.5)
  - portable-net45+win8 (.NETPortable,Version=v0.0,Profile=Profile7)
One or more packages are incompatible with DNXCore,Version=v5.0.
Committing restore...
Writing lock file to disk. Path:
D:\home\site\repository\src\MessyLabAdmin\project.lock.json
D:\home\site\repository\src\MessyLabAdmin\MessyLabAdmin.xproj
Restore failed in 13568ms.