WebDeploy 3.5 supports customizing App_Offline.html via an App Offline Template option to msdeploy. Example:
msdeploy.exe -verb:sync -source:iisApp=sourceApp -dest:iisApp=destApp,appOfflineTemplate="App_offline-template.htm" -enablerule:AppOffline
In a publish profile I can specify -enablerule:AppOffline via the option
<EnableMSDeployAppOffline>true</EnableMSDeployAppOffline>
Can I do the same with appOfflineTemplate ?
Reference: https://blogs.iis.net/msdeploy/webdeploy-3-5-rtw
Currently not possible. Read more at: https://aspnet.uservoice.com/forums/41199-general-asp-net/suggestions/6619898-enablemsdeployappoffline-appofflinetemplate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With