TFS MsBuild 和 Web 部署项目随机失败
我们在 TFS2008 构建服务器上运行一个构建,但其中一个构建开始失败。看起来好像 Web 部署项目 (wdproj) 的 aspnet_compile 步骤已停止生成 App_Global.asax.compiled 文件。
经过几次构建后,它再次开始工作,直到几次构建后,问题又回来了。如果我手动运行这些工具,它工作得很好。
它发生在该模块的所有分支上,并且没有对所有模块通用的代码进行更改。两台构建服务器上都存在该问题。我比较了成功和失败构建的构建目录结构,它们的区别仅在于上面的文件(以及下一步,依赖于 App_Global.asax.compiled 文件(这是 aspnet_merge 步骤))
有什么想法吗?
We have a build running on a TFS2008 build server and one of the builds has started failing. It looks as if the aspnet_compile step of the Web Deployment project (wdproj) has stopped producing the App_Global.asax.compiled file.
After a few builds it starts to work again, until a few builds later, the problem is back. If I run the tools manually, it works fine.
It is occuring on all the branches with the module, and not code changes have been made that is common to all the modules. The problem exists on both build servers. I've compared the build directory structures for a successful and failing build, and they only differ by the file above (and the next step, which relies on the App_Global.asax.compiled file (this is the aspnet_merge step))
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,最有可能的罪魁祸首是 NTFS 压缩……很奇怪
Turns out the most likely culprit is NTFS compression… weird