.net core 2.0 issue with PublishDir

johnhilts's Avatar


12 Nov, 2017 08:59 AM

I don't seem to be able to deploy my .net core 2.0 web app unless I add the PublishDir tag to the .csproj file as follows:


The problem, though, is that in my local environment, everytime I use dotnet run a _PublishedWebsites folder is recursively added to the root of my site, and then over and over again inside of each _PublishedWebsites\NetCoreWebApp sub-folder set.

Is there a different setting that will avoid the recursive publishing plus allow me to deploy my .net core 2 web apps?

The app in question is this one:

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