.net core 2.0 issue with PublishDir
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:
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PublishDir>$(OutDir)_PublishedWebsites\NetCoreWebApp\</PublishDir>
</PropertyGroup>
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:
http://ez7zu6.apphb.com
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
| ? | 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