Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Does AppHarbor support ASP.NET Core v1.1 applications?

tocoolfourskool's Avatar


09 Aug, 2017 11:13 PM

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?

  1. 1 Posted by jgarza on 10 Aug, 2017 03:43 PM

    jgarza's Avatar

    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?

  2. 2 Posted by jgarza on 10 Aug, 2017 05:31 PM

    jgarza's Avatar

    I added the line <PublishDir>$(OutDir)_PublishedWebsites\NetCoreWebApp\</PublishDir> to the proj file.
    I added the configuration variable ASPNETCORE_ENVIRONMENT with value Production.
    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.
    I downloaded the build, but I can't see any errors.
    Still no cigar...

  3. 3 Posted by jgarza on 10 Aug, 2017 08:35 PM

    jgarza's Avatar

    AAAwww, come on!! I didn't read clearly the post I didn't put DefaultTargets="Publish" at the top of the proj file.
    Now that I did, it works!!!

  4. Support Staff 4 Posted by rune on 11 Aug, 2017 05:28 AM

    rune's Avatar


    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 Publish and setting the PublishDir property in your project file (as jgarza pointed out earlier). There's a bit more information in this comment, and this comment where I described how configuration variables are injected

    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.

    Let me know if there's anything else I can help with!


  5. rune closed this discussion on 11 Aug, 2017 05:28 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac