VS2008 app_offline.htm 构建后未删除
在我构建 Web 应用程序时大约 50% 的时间会发生这种情况。我让它在本地主机上运行(无需调试即可启动),当我进行更改并构建时,它将始终构建成功,但有时不会删除它为构建添加的 app_offline.htm
文件。然后,我必须刷新解决方案资源管理器以显示 app_offline.htm
文件并将其删除,或者再次构建,之后它通常会自行删除该文件。
还有其他人经历过吗?有解决办法吗?如果有一种方法可以让 VS 停止生成文件,我什至会很高兴!当我是唯一可以查看该应用程序时,我不需要被告知该应用程序已离线!
This happens about 50% of the time I build my web application. I have it running on my localhost (start without debugging) and when I make changes and build it will always build successfully, but sometimes not remove the app_offline.htm
file it adds for the build. I then have to either refresh the solution explorer to show the app_offline.htm
file and delete it, or build again and it usually will rid itself of the file after that.
Has anyone else experienced this? Is there a solution? I'd even be happy if there were a way I could get VS to stop generating the file all together! It's not like I need to be told the app is offline when I'm the only one who can view it!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论