Tfs 构建在门中失败,但在本地构建良好
我的变更集一直未能通过dev gate构建 不幸的是,TFS构建没有给我任何线索,这是我得到的唯一例外:Tfs 构建在门中失败,但在本地构建良好,tfs,visual-studio-2013,Tfs,Visual Studio 2013,我的变更集一直未能通过dev gate构建 不幸的是,TFS构建没有给我任何线索,这是我得到的唯一例外: Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateException) Exception Stac
Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateException)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
我用谷歌搜索了它,对于那些引用博客的人:
- 我不使用假货
- 服务器有足够的内存
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
true
必须在测试项目(MS测试)中删除此元素
我用其他4个测试项目验证了它,但他们没有这个条目
我不知道为什么这个条目不被接受,但我的登机门再次接受了登机;-) 您是否尝试过使用MSBuild命令行在本地生成项目?如果这样做有效,请在构建代理上尝试相同的操作。当然,当我这样做时,会出现相同的消息,没有额外的细节。。我注意到,当使用UseHostCompilerIfAvailable=false时,我的本地MSBUILD运行正常。对生成定义应用此参数仍会返回MSBUILD错误。。。