简体   繁体   English

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

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

Due to Microsoft's official cite it must be located at 由于Microsoft的官方引用,它必须位于

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

Didn't find such topics in google or stackOverflow... 在Google或stackOverflow中找不到此类主题...

In the same time I can run Unit tests from VS, but I need to run them from cmd... Have someone some ideas why its absent and how to fix this? 同时,我可以从VS运行单元测试,但是我需要从cmd运行它们。

for "MSTest" command "Developer Command Prompt for VS2013" returns me error: 对于“ MSTest”命令“ VS2013的开发人员命令提示符”,返回错误:

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

It is at 它是在

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

in my installation. 在我的安装中。 Could you take a look at there. 你能看看那里吗?

Edit: As it is express edition you should download and install Agents for Microsoft Visual Studio 2013. http://www.microsoft.com/en-gb/download/details.aspx?id=40750 编辑:由于它是速成版,您应该下载并安装Microsoft Visual Studio 2013代理。http://www.microsoft.com/zh-cn/gb/download/details.aspx?id=40750

Blorgbeard opened my eyes =) For my needs I can use "vstest.console.exe" or "TCM.exe". Blorgbeard睁开了眼睛=)对于我的需求,我可以使用“ vstest.console.exe”或“ TCM.exe”。

Even if I didnt find the reason why is absent mstest.exe in my installation folder, its resolves my problem. 即使我没有找到安装文件夹中缺少mstest.exe的原因,它也解决了我的问题。

Thanks a lot, Blorgbeard and all of you! 非常感谢,Blorgbeard和大家!

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

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