I would like to create a simple ASP.NET Core Web Application (.NET Framework) and publish a WebJob alongside it to Azure.
I\'m using Visual Studio 2017, but the resu
I managed to get it works in all cases to publish VS 2017 csproj using VSTS or locally with these lines:
$(PublishDir)\
$([System.IO.Path]::GetFullPath('$(PublishDir)'))
It ensures:
dotnet publish -o
option).dotnet publish [project]
now change the current directory, so with a relative path like the default /bin/[configuration]/[framework]/publish
the WebJob would be published in its own bin folder instead of the Web project's one).Hope that helps!