繁体   English   中英

VS2013安装文件夹中缺少mstest.exe

[英]mstest.exe is absent in VS2013 installation folder

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

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

在Google或stackOverflow中找不到此类主题...

同时,我可以从VS运行单元测试,但是我需要从cmd运行它们。

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

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

它是在

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

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

编辑:由于它是速成版,您应该下载并安装Microsoft Visual Studio 2013代理。http://www.microsoft.com/zh-cn/gb/download/details.aspx?id=40750

Blorgbeard睁开了眼睛=)对于我的需求,我可以使用“ vstest.console.exe”或“ TCM.exe”。

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

非常感谢,Blorgbeard和大家!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM