EnableMSDeployAppOffline - AppOfflineTemplate
For WebDeploy you can specify <EnableMSDeployAppOffline> in the .pubxml file but this will generate a default app_offline.htm file that you cannot modify. Just provide an option for a template like <AppOfflineTemplate>
Thanks for the suggestion, I’m looking into this. The thought that I have is to do this convention based. So if you have a file named app_offline-template.htm then we use that file for app_offline.htm. Please let me know if that design doesn’t work for you.
Ken Kick commented
Anything more on this? After searching all day, I found your 2012 comment in the IIS forum that this was removed due to a security issue, but that you guys would work to put back in. Now 4 years later...??
Maybe convention by default and this could override. But either way this is a long time missing from VS.
Steve Temple commented
This would be great, currently having a generic one isn't ideal
If this would work in VS2012 Publish Wizard (WebDeploy) this would be a great solution.