tfs - 发布结果时 MSTest 崩溃

标签 tfs visual-studio-2013 mstest

我们的 TFS 2013 服务器和 Build 服务器位于两台不同的机器上,同一个域。构建服务器上安装了 Visual Studio。当我推送构建时,一切都很好,除了 MSTest 失败并出现以下错误:

TF270015:“MSTest.exe”返回了意外的退出代码。预期为“0”;实际的“255”。有关更多详细信息,请参阅构建日志。

事件日志向我显示以下错误,

错误应用程序名称:MSTest.exe,版本:12.0.21005.1,时间戳:0x524fbee4 错误模块名称:clr.dll,版本:
4.0.30319.34014,时间戳:0x52e0b784 异常代码:0xc0000005 故障偏移量:0x0001bc37 故障进程 id:0xafc 故障应用程序启动时间:0x01cf8efc8557a612 故障应用程序路径:C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\MSTest.exe 错误模块路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 报告 ID:c510b7a4-faef-11e3-80d0-0026b9534e01 错误包全名:错误包-相对应用程序 ID:


诊断显示所有测试都成功通过,MSTest 在发布结果到 TFS 阶段失败:

结果文件:C:\Builds\2\CommonTest\CommonQA\TestResults\tfsbuild3_WKTOBLD03 2014-06-23 12_02_24_Any CPU_Release.trx
测试设置:默认测试设置
等待发布...


那就是它崩溃的地方。

我几乎尝试了一切,包括,

  • 在 BuildDrops 文件夹上授予 TFSBuild 和 TFSService 帐户权限。
  • 清除服务器和客户端计算机上的 TFS 缓存。
  • 安装 VS 2013 SP1。

  • 任何人都知道这里可能是什么问题?

    最佳答案

    今天在服务器上使用 TFS2013.3 但在构建服务器上仅构建 Visual Studio 2013 RTM 时,我在发布时遇到了 mstest.exe 崩溃。在构建服务器上安装 VS2013.3 为我解决了这个问题。

    关于tfs - 发布结果时 MSTest 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24370564/

    相关文章:

    visual-studio - Windows 8 下 Visual Studio 2012 中的 TFS

    c# - Moq - 模拟工厂不会在每次迭代时生成新对象

    msbuild - VSTS Build 无法运行 NUnit 测试

    Azure 托管的本地构建 Controller + VSO : Error TF400106: Failed to register the build service (Exception Message: Could not find service)

    tfs - 在一个项目中创建一个分支,其父级在 TFS 中的另一个项目下

    visual-studio - ExcludeFoldersFromDeployment 在发布配置文件中不起作用

    asp.net-mvc - 修改 Visual Studio 2013 和 ASP.NET MVC5 中的 Bootstrap 样式 : is this a reasonable approach?

    visual-studio-2013 - 无法安装 Visual Studio Community Edition 2013

    visual-studio-2013 - NuGet 包管理器控制台 (PMC) 策略设置

    Msbuild:将一个项目组转换为具有不同结构的另一个项目组