Visual Studio 2019 vstest.console not found, /logger:Appveyor not found

Jorma Rebane's Avatar

Jorma Rebane

06 Jun, 2019 03:03 PM

Selecting a "Visual Studio 2019" environment, unit testing does not work, because "vstest.console" is not found.

If attempting to run the script manually, /logger:Appveyor is not found.
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console" /logger:Appveyor "C:\Projects\BlackBox\UnitTests\bin\Release\UnitTests.dll"

The open source project link for more info:
https://ci.appveyor.com/project/RedFox20/sd-blackbox

  1. 1 Posted by Jorma Rebane on 06 Jun, 2019 06:45 PM

    Jorma Rebane's Avatar

    My current workaround is to specify the path explicitly:
    >
    > "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console" "C:\Projects\BlackBox\UnitTests\bin\Release\UnitTests.dll"

  2. Support Staff 2 Posted by Ilya Finkelshte... on 19 Jun, 2019 12:38 AM

    Ilya Finkelshteyn's Avatar

    Thank you for the catch. Please watch https://github.com/appveyor/ci/issues/2987, should be fixed soon.

  3. Support Staff 3 Posted by Ilya Finkelshte... on 25 Jun, 2019 06:05 PM

    Ilya Finkelshteyn's Avatar

    Image update deployed. It should work OK now.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • vstest.console.notfound.JPG 39.9 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

16 Jul, 2019 04:51 AM
15 Jul, 2019 06:33 PM
15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM
15 Jul, 2019 05:46 PM
15 Jul, 2019 05:21 PM