TFS Build 2015 未找到要发布的结果
TFS Build 2015 No results found to publish
使用新的 TFS Build 2015 vNext 时,测试 运行 但结果未发布。测试 运行 在本地很好,结果很好。任何帮助都会很棒。
Executing the powershell script:
C:\users\x\downloads\agent\tasks\VSTest.0.32\VSTest.ps1
Working folder: C:\TfsData\Build\_work
Executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe "C:\TfsData\Build\_work\s\x.Tests\bin\Debug\x.Tests.dll" /logger:trx
Microsoft (R) Test Execution Command Line Tool Version 14.0.25420.1
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Information: Additionally, you can try specifying '/UseVsixExtensions' command if the test discoverer & executor is installed on the machine as vsix extensions and your installation supports vsix extensions. Example: vstest.console.exe myTests.dll /UseVsixExtensions:true
No results found to publish
See image result
这是使用新构建的 vNext。找不到任何地方的问题。任何帮助是极大的赞赏。
根据您的日志,没有生成测试结果。您需要检查 C:\TfsData\Build\_work\s\TKSLibrary.Tests\bin\Debug\TKSLibrary.Tests.dll
是否是正确的路径,并且 TKSLibrary.Tests.dll
是否是您想要 运行 的正确文件。
同时,尝试在你的build agent机器上直接使用vstest.console.exe命令行运行进行测试,看看能否得到测试结果。
这里有一个类似的案例供大家参考:,或许能帮到您解决问题。
我建议您在构建服务器上安装 Visual Studio 和 Sql 服务器数据工具的最新更新。
使用新的 TFS Build 2015 vNext 时,测试 运行 但结果未发布。测试 运行 在本地很好,结果很好。任何帮助都会很棒。
Executing the powershell script:
C:\users\x\downloads\agent\tasks\VSTest.0.32\VSTest.ps1
Working folder: C:\TfsData\Build\_work
Executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe "C:\TfsData\Build\_work\s\x.Tests\bin\Debug\x.Tests.dll" /logger:trx
Microsoft (R) Test Execution Command Line Tool Version 14.0.25420.1
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Information: Additionally, you can try specifying '/UseVsixExtensions' command if the test discoverer & executor is installed on the machine as vsix extensions and your installation supports vsix extensions. Example: vstest.console.exe myTests.dll /UseVsixExtensions:true
No results found to publish
See image result 这是使用新构建的 vNext。找不到任何地方的问题。任何帮助是极大的赞赏。
根据您的日志,没有生成测试结果。您需要检查 C:\TfsData\Build\_work\s\TKSLibrary.Tests\bin\Debug\TKSLibrary.Tests.dll
是否是正确的路径,并且 TKSLibrary.Tests.dll
是否是您想要 运行 的正确文件。
同时,尝试在你的build agent机器上直接使用vstest.console.exe命令行运行进行测试,看看能否得到测试结果。
这里有一个类似的案例供大家参考:
我建议您在构建服务器上安装 Visual Studio 和 Sql 服务器数据工具的最新更新。