Azure Website - ASP.NET Core 1.0 RC1 path

Hi !

Another day another question:

We are deploying our ASP.NET Core 1.0 application to an azure website.
ASP.NET Core 1.0 projects contain an approot and a wwwroot folder that need to be published to the site folder on the azure website host.
However the built in Azure Website deployer copies both folders to site/wwwroot…

Which leaves us with
site/wwwroot/wwwroot
site/wwwroot/approot

instead of
site/wwwroot
site/approot

Is there a way to tell octupus to deploy to the site folder directly ? We already tried using …\ or …/ in the relative physical folder setting to no avail.

Regards,

Hi,

Thanks for getting in touch. Unfortunately, I don’t have a great answer for this right now. We need to upgrade Calamari (the component that executes deployments on target machines) to Microsoft Web Deploy 3.6 which includes ASP.NET Core 1.0 support. We have an open issue for this and you can follow it’s progress at the following URL. https://github.com/OctopusDeploy/Issues/issues/2422

The best solution available right now is per the following conversation.
http://help.octopusdeploy.com/discussions/questions/6220-how-can-i-deploy-to-azure-web-site-to-the-path-site-instead-of-sitewwwroot

Hope this helps!

Thanks

Rob