Custom app_offline.htm file during publish

后端 未结 9 494
遇见更好的自我
遇见更好的自我 2020-12-03 00:58

When I publish my ASP.NET MVC application it generates a app_offline.htm file to take the site offline while it updates the website and then deletes the file once the publis

9条回答
  •  有刺的猬
    2020-12-03 01:53

    Andrew bullocks answer works like a charm! although it depends on which visual studio you are using.

    C:\Users\USERNAME\AppData\Roaming\Microsoft\VisualStudio

    is the directory you should first land at, choose your VS version[ 8.0/9.0.....] and edit the app_offile.htm file.

提交回复
热议问题