2015-05-04 74 views
7

AppHarbor支持ASP.NET Core嗎?AppHarbor - ASP.NET核心支持

當我想部署我的示例應用程序(從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 

,我試圖部署的代碼是這樣的: https://github.com/yngndrw/ASPNetTest

我不確定我錯過了什麼,或者AppHarbor不支持這個嗎?

+3

儘管[AppHarbor聲稱堆棧溢出是一個獲得支持的好地方](https://appharbor.com/page/support),您應該爲他們提出一張針對這樣的特定問題的憑單。 – CodeCaster

+0

謝謝,我創建了一張票,一旦我收到他們的回覆,就會更新:https://support.appharbor.com/discussions/problems/77692-appharbor-aspnet-5-vnext-support –

回答

1

Rune從AppHarbor有responded to my question

嗨,

ASP.NET 5/vNext和.NET 4.6不正式支持但因爲它們仍然在RC狀態 - 官方支持會在所有服務器達到RTM時推出並部署。但是請注意,對於vNext/ASP.NET 5應用程序,您仍然可以在AppHarbor上運行這些應用程序,但現在您必須解決缺少的構建目標項目,因爲這些項目目前在AppHarbor的構建服務器上不可用。

AppHarbor將繼續支持早期版本的.NET Framework(包括4+),並且當正式支持vNext和.NET 4.6時,沒有計劃停止支持需要這些框架的應用程序。

在官方RC之前,我們還可能會推出使用更新框架部署應用程序的測試版支持或準則。如果/當我們這樣做時,我會確保更新此線程。

最佳, 符文

我會進一步更新一次,支持添加。謝謝。

+2

前幾天發佈了.NET Framework 4.6。當AppHarbor支持新的.net和asp.net 5? Thaks – Marusyk

+0

對此有何更新? –

+1

根據[其他支持票](https://support.appharbor.com/discussions/problems/79972-aspnet-5-support)在12月,[Rune](https://support.appharbor.com/users/573939)提到應該提供支持,但目前尚未得到正式支持。然而,有人提到,現在RC1已經出來,他們已經開始努力更好地支持它。 我剛剛嘗試過,沒有找到相同的「DNX \ Microsoft.DNX.Props'」錯誤,因爲我上次做過這樣的錯誤,但是您可能可以使用DNVM來安裝所需的東西,現在作爲預建的步驟。 (我還沒有嘗試這樣做) –