MSTest 无法发布结果。说平台和口味不对,但他们是
我们正在尝试从命令行使用 MSTest 执行单元测试并在 TFS 服务器上发布结果。问题是 MSTest 总是返回:
Publishing results of test run buildmachine@XXX-XXXXXXX 2010-12-16 11:39:13_Release_Any CPU到http://xxxx:8080/Build/v1.0/PublishTestResultsBuildService2.asmx... ...................................................... ...................................... 构建 'xxx>xxx>x>x>x>xxxx>xxxx>xxxxxx' 不包含指定的 配置('释放/任何CPU')。
问题是指定的配置应该存在。我们已经使用下一个 MSBuild 设置进行构建:
<ConfigurationToBuild Include="Release|Any CPU">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>Any CPU</PlatformToBuild>
</ConfigurationToBuild>
有什么想法吗?我开始厌倦这个了。
we are trying to execute unit tests with MSTest from command line and publishing the results at the TFS server. The problem is that MSTest is always returning:
Publishing results of test run buildmachine@XXX-XXXXXXX 2010-12-16 11:39:13_Release_Any
CPU to http://xxxx:8080/Build/v1.0/PublishTestResultsBuildService2.asmx...
.........................................................................................
Build 'xxx>xxx>x>x>x>xxxx>xxxx>x.x.x.xxx' does not include the specified
configuration ('Release/Any CPU').
The problem is that the specified configuration should exist. We've build with the next MSBuild settings:
<ConfigurationToBuild Include="Release|Any CPU">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>Any CPU</PlatformToBuild>
</ConfigurationToBuild>
Any idea? I'm starting to be fed up with this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是构建没有成功,然后 MSTest 无法发布结果。错误消息可能会更好......
The problem was that the build didn't succeeded and then MSTest couldn't publish the results. The error message could be better ...