简体   繁体   English

TFS MsBuild和Web部署项目随机失败

[英]TFS MsBuild and Web Deployment Project randomly fail

We have a build running on a TFS2008 build server and one of the builds has started failing. 我们有一个在TFS2008构建服务器上运行的构建,并且其中一个构建已开始失败。 It looks as if the aspnet_compile step of the Web Deployment project (wdproj) has stopped producing the App_Global.asax.compiled file. 似乎Web部署项目(wdproj)的aspnet_compile步骤已停止生成App_Global.asax.compiled文件。

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)) 我已经比较了成功和失败构建的构建目录结构,它们之间的区别仅在于上面的文件(以及下一步,它依赖于App_Global.asax.compiled文件(这是aspnet_merge步骤))

Any ideas? 有任何想法吗?

原来最可能的罪魁祸首是NTFS压缩……很奇怪

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM