VS2013安装文件夹中没有mstest.exe

时间:2015-03-01 22:21:08

标签: c# visual-studio-2013 mstest

由于微软的官方引用,它必须位于

c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\

未在google或stackOverflow中找到此类主题...

同时我可以从VS运行单元测试,但是我需要从cmd运行它们......有人想知道它为什么缺席以及如何解决这个问题?

for“MSTest”命令“VS2013的开发人员命令提示符”返回错误:

'MSTest' is not recognized as an internal or external command,
operable program or batch file.

2 个答案:

答案 0 :(得分:2)

它在

  

C:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ Common7 \ IDE

在我的安装中。你能看看那里吗?

修改 因为它是快速版,您应该下载并安装Microsoft Visual Studio 2013代理。 http://www.microsoft.com/en-gb/download/details.aspx?id=40750

答案 1 :(得分:0)

Blorgbeard睁开眼睛=) 根据我的需要,我可以使用" vstest.console.exe"或" TCM.exe"。

即使我没有找到我的安装文件夹中缺少mstest.exe的原因,它也解决了我的问题。

非常感谢Blorgbeard和你们所有人!