tag:support.appharbor.com,2010-11-23:/discussions/problems/91707-does-appharbor-support-aspnet-core-v11-applicationsAppHarbor: Discussion 2017-08-11T05:28:25Ztag:support.appharbor.com,2010-11-23:Comment/431801442017-08-09T23:13:20Z2017-08-09T23:13:20ZDoes AppHarbor support ASP.NET Core v1.1 applications?<div><p>I have an ASP.NET Core v 1.1 application that I want to deploy but before I commit to this version rather than building it on the .NET platform I needed to know whether AppHarbor fully supported the Core apps yet?</p></div>tocoolfourskooltag:support.appharbor.com,2010-11-23:Comment/431801442017-08-10T15:43:12Z2017-08-10T15:43:12ZDoes AppHarbor support ASP.NET Core v1.1 applications?<div><p>Hey Rune, I already have an ASP.NET Core v1.1 app, but I am getting the "Welcome to nginx!" page. What should I be looking at to solve it?</p></div>jgarzatag:support.appharbor.com,2010-11-23:Comment/431801442017-08-10T17:31:18Z2017-08-10T17:31:18ZDoes AppHarbor support ASP.NET Core v1.1 applications?<div><p>I added the line <code><PublishDir>$(OutDir)_PublishedWebsites\NetCoreWebApp\</PublishDir></code> to the proj file.<br>
I added the configuration variable ASPNETCORE_ENVIRONMENT with value Production.<br>
There is no deploy button on the Build status page. And there is no "CURRENT DEPLOYMENT" on the blue box on the left of the project page.<br>
I downloaded the build, but I can't see any errors.<br>
Still no cigar...</p></div>jgarzatag:support.appharbor.com,2010-11-23:Comment/431801442017-08-10T20:35:43Z2017-08-10T20:35:43ZDoes AppHarbor support ASP.NET Core v1.1 applications?<div><p>AAAwww, come on!! I didn't read clearly the post <a href="https://support.appharbor.com/discussions/problems/90387-is-net-core-supported-yet">https://support.appharbor.com/discussions/problems/90387-is-net-cor...</a>. I didn't put DefaultTargets="Publish" at the top of the proj file.<br>
Now that I did, it works!!!</p></div>jgarzatag:support.appharbor.com,2010-11-23:Comment/431801442017-08-11T05:28:23Z2017-08-11T05:28:23ZDoes AppHarbor support ASP.NET Core v1.1 applications?<div><p>Hi,</p>
<p>Yes .NET Core is supported now, but it does require a little bit of initial configuration to make sure the proper web project is published -- in particular, adding the default target <code>Publish</code> and setting the <code>PublishDir</code> property in your project file (as jgarza pointed out earlier). There's a bit more information in <a href="https://support.appharbor.com/discussions/problems/90387-is-net-core-supported-yet#comment_42659267">this comment</a>, and <a href="https://support.appharbor.com/discussions/problems/90387-is-net-core-supported-yet#comment_42832788">this comment where I described how configuration variables are injected</a></p>
<p>We're still working on a solution to automate the build integration, but it's just a minor change that's necessary for that and it'll work even after we automate it.</p>
<p>Let me know if there's anything else I can help with!</p>
<p>Best,<br>
Rune</p></div>rune