Visualstudio-docs: Where is VSTest.console.exe located?

Created on 27 Jun 2019  Â·  6Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

There is no mention of where to find it.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 doc-bug easy visual-studio-windowprod vs-ide-testech

Most helpful comment

For VS 2017 Professional, I found vstest.console.exe under

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\TestPlatform

Note the difference to the comment from @gewarren : Extensions\ vs TestExtensions\.

All 6 comments

We need to add the following location info to the doc:

%Program Files(x86)%\Microsoft Visual Studio\\\\common7ide\CommonExtensions\microsoft\TestPlatform

However if you use developer command prompt to run it, you don't need to specify a path.

Based on this comment it should be from a different location.

Is it applied also for running visual studio load test?
In the previous version we used mstest to run the load test but it doesn't work with on premise (test controller) in 2019, we don't know what is the problem.

For VS 2017 Professional, I found vstest.console.exe under

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\TestPlatform

Note the difference to the comment from @gewarren : Extensions\ vs TestExtensions\.

Updating doc. Referencing Developer Command Prompt, and file location. Looks like there are several valid locations.

This path in DOC still seems invalid

%Program Files(x86)%\Microsoft Visual Studio\<version>\<edition>\common7\ide\CommonExtensions\<Platform | Microsoft>

It should be more like:

%Program Files(x86)%\Microsoft Visual Studio\<version>\<edition>\common7\ide\<Extensions | CommonExtensions>\<TestPlatform | Platform | Microsoft>

Was this page helpful?
0 / 5 - 0 ratings