症状
您尝试通过使用 Visual Studio 2010 中并行运行单元测试,或通过在具有多个 Cpu 或一个 CPU 的计算机上使用 MSTest.exe 命令具有多个内核。如果您设置parallelTestCount属性在测试设置文件中的值大于 1,所有的测试,可免收后段时间运行它们。
解决方案
修补程序信息
可以从 Microsoft 获得受支持的修复程序。然而,此修补程序仅用于解决本文中描述的问题。此修复程序仅适用于遇到本文中描述的问题的系统。此修补程序可能会接受进一步的测试。因此,如果这个问题没有对您造成严重的影响,我们建议您等待包含此修复程序的下一个软件更新。
如果此修复程序可供下载,则在此知识库文章的顶部会出现“修补程序下载可用”部分。如果未显示此部分,请与 Microsoft 客户服务和支持部门联系以获取此修复程序。 注意:如果出现其他问题或需要任何故障诊断时,您可能需要创建单独的服务请求。对于不符合此特定的修补程序的其他支持问题和事项将照常收取费用。有关 Microsoft 客户服务和支持电话号码的完整列表,或要创建单独的服务请求,请访问下面的 Microsoft 网站:http://support.microsoft.com/contactus/?ws=support注意:"提供修补程序下载"窗体显示获取此修复程序的语言。如果看不到您的语言,则修补程序没有那种语言的版本。
系统必备组件
若要应用此修补程序,您必须具有 Microsoft Visual Studio 2010 Service Pack 1 (SP1) 安装。
重新启动信息
您可能需要重新启动计算机,如果受影响的文件正在使用,则在应用此修补程序后。我们建议您应用此修补程序之前,退出 Visual Studio、 其应用程序或任何.NET Framework 应用程序的任何实例。
修补程序替换信息
此修补程序不替代以前发布的修补程序。
文件信息
此修复程序的全球版本将安装具有下表所列属性的文件。这些文件的日期和时间以协调世界时 (UTC) 列出。您的本地计算机上这些文件的日期和时间以您的本地时间加上当前夏令时 (DST) 偏差显示。此外,当您对文件执行某些操作时,日期和时间可能会更改。
Microsoft Visual Studio 2010 Service Pack 1
文件名称 |
文件版本 |
文件大小 |
日期 |
时间 |
平台 |
---|---|---|---|---|---|
Leviewer.exe |
10.0.40219.355 |
117,584 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.build.client.dll |
10.0.40219.355 |
435,080 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.client.dll |
10.0.40219.355 |
1,592,704 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.common.dll |
10.0.40219.355 |
523,136 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.controls.dll |
10.0.40219.355 |
937,856 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.dll |
10.0.40219.355 |
674,672 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.lab.activities.dll |
10.0.40219.355 |
767,888 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.lab.client.dll |
10.0.40219.355 |
152,456 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.lab.uiutils.dll |
10.0.40219.355 |
266,120 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.lab.workflow.activities.dll |
10.0.40219.355 |
439,712 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.officeintegration.project.dll |
10.0.40219.355 |
516,520 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.activities.common.dll |
10.0.40219.355 |
314,296 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.activities.dll |
10.0.40219.355 |
1,511,336 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.activityruntime.dll |
10.0.40219.355 |
219,056 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.client.dll |
10.0.40219.355 |
684,448 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.testmanagement.client.themes.dll |
10.0.40219.355 |
3,058,096 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.client.wpfcontrols.dll |
10.0.40219.355 |
256,952 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.clientpackage.dll |
10.0.40219.355 |
73,136 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.common.dll |
10.0.40219.355 |
33,696 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.testmanagement.controller.dll |
10.0.40219.355 |
119,720 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.controls.dll |
10.0.40219.355 |
493,472 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.controls.wpfworkitemcontrols.dll |
10.0.40219.355 |
99,280 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.versioncontrol.client.dll |
10.0.40219.355 |
704,928 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.versioncontrol.common.dll |
10.0.40219.355 |
231,840 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.versioncontrol.controls.dll |
10.0.40219.355 |
4,438,432 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.workitemtracking.client.dll |
10.0.40219.355 |
698,272 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.workitemtracking.controls.dll |
10.0.40219.355 |
1,213,352 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.workitemtracking.proxy.dll |
10.0.40219.355 |
390,048 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.visualstudio.qualitytools.agentobject.dll |
10.0.40219.355 |
105,376 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.common.dll |
10.0.40219.355 |
1,353,616 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.controllerobject.dll |
10.0.40219.355 |
275,368 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.executioncommon.dll |
10.0.40219.355 |
480,168 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.testcasemanagement.dll |
10.0.40219.355 |
1,278,896 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.tmi.dll |
10.0.40219.355 |
397,712 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.build.dll |
10.0.40219.355 |
141,720 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.dll |
10.0.40219.355 |
93,064 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.teamexplorer.dll |
10.0.40219.355 |
798,120 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
58,288 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
58,800 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
60,336 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
62,896 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
939,432 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.workitemtracking.dll |
10.0.40219.355 |
460,208 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamsystem.integration.dll |
10.0.40219.355 |
192,408 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.testtools.manualtest.common.dll |
10.0.40219.355 |
812,456 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.testtools.uitest.extension.ie.dll |
10.0.40219.355 |
250,280 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.testtools.uitest.extension.uia.dll |
10.0.40219.355 |
106,416 |
22-Oct-2011 |
12:51 |
x86 |
Msdiff.dll |
10.0.40219.355 |
484,680 |
22-Oct-2011 |
12:51 |
x86 |
Mtm.exe |
10.0.40219.355 |
448,328 |
22-Oct-2011 |
12:51 |
x86 |
Qtagent.exe |
10.0.40219.355 |
20,304 |
22-Oct-2011 |
12:51 |
x86 |
Qtagent32.exe |
10.0.40219.355 |
20,304 |
22-Oct-2011 |
12:51 |
x86 |
Qtagent32.exe |
10.0.40219.355 |
20,312 |
22-Oct-2011 |
12:51 |
x86 |
Tf.exe |
10.0.40219.355 |
324,928 |
22-Oct-2011 |
12:51 |
x86 |
状态
Microsoft 已经确认这是“适用于”一节中列出的 Microsoft 产品中的问题。
详细信息
有关如何运行单元测试以加快测试执行速度的并行的详细信息,请访问下面的 Microsoft 开发人员网络 (MSDN) 网站︰
如何运行单元测试更快地使用的计算机具有多个 Cpu 或内核关于 MSTest.exe 命令的详细信息,请访问下面的 MSDN 网站︰
MSTest.exe 命令行选项有关软件更新术语的详细信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
用于描述 Microsoft 软件更新的标准术语的824684说明