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