AppHarbor - ASP.NET核心支持

And*_*ung 7 appharbor asp.net-core

AppHarbor是否支持ASP.NET Core?

当我尝试部署我的示例应用程序时(从Visual Studio 2015 RC模板),我在AppHarbor中获得了以下构建日志:

Build started 5/4/2015 2:28:38 PM.
     1>Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" on node 1 (default targets).
     1>ValidateSolutionConfiguration:
         Building solution configuration "Release|Any CPU".
     1>Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" (1) is building "D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj" (2) on node 1 (default targets).
     2>D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj(7,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\DNX\Microsoft.DNX.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
     2>Done Building Project "D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj" (default targets) -- FAILED.
     1>Done Building Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" (default targets) -- FAILED.

Build FAILED.

       "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" (default target) (1) ->
       "D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj" (default target) (2) ->
         D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest.xproj(7,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\DNX\Microsoft.DNX.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.03
Run Code Online (Sandbox Code Playgroud)

我试图部署的代码是:https: //github.com/yngndrw/ASPNetTest

我不确定我是否遗漏了某些内容,或者AppHarbor是否支持此功能?

And*_*ung 1

AppHarbor 的Rune回答了我的问题

你好,

ASP.NET 5 / vNext 和 .NET 4.6 尚未得到正式支持,因为它们仍处于 RC 状态 - 当它们达到 RTM 时,官方支持将在所有服务器上推出和部署。但请注意,对于 vNext / ASP.NET 5 应用程序,您仍然可以在 AppHarbor 上运行这些应用程序,但现在您必须解决缺少的构建目标项目,因为这些项目当前在 AppHarbor 的构建服务器上不可用。

AppHarbor 将继续支持 .NET Framework 的早期版本(包括 4+),并且在正式支持 vNext 和 .NET 4.6 时,没有计划停止对需要这些框架的应用程序的支持。

我们还可能在正式 RC 之前引入测试版支持或使用较新框架部署应用程序的指南。如果/当我们这样做时,我将确保更新此线程。

最好的,符文

一旦添加支持,我将进一步更新。谢谢。

  • 几天前发布了.NET Framework 4.6。AppHarbor什么时候支持新的.net和asp.net 5?他克斯 (2认同)