Is it possible to tell Visual Studio 2017 to do the following:
- Upload app_offline.htm
- Delete all files
- Publish website
- Delete app_offline.htm
I have tried with FTP and Web Deploy but to no avail. The app_offline.htm never gets uploaded. I have it in my root directory of the project and I also added <EnableMSDeployAppOffline>true</EnableMSDeployAppOffline>
under PropertyGroup
.
I can't seem to find another way to do it when I was looking it up online.