chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi All,

I have a azure server with typemock run unit tests tasks extension installed, and it works fine with VS2015. But recently I switch to VS2019, this task always fails with can't locate vstest.console.exe error, anyone know how to fix this? the extension verison is the latest verison 8.9.21363

https://marketplace.visualstudio.com/items?itemName=Typemock.Typemock-Tasks
asked by tracyjia (640 points)

2 Answers

+1 vote
 
Best answer

Solved!

New VSTS is integrated fully.

answered by Alon_TypeMock (8.9k points)
0 votes

Hi Tracy,

Thank you for reaching out to us.

I'm sorry to hear about your issue.

Can you please share with me what version is installed locally on your machine?

Also, are the tests pass locally?

Cheers,

Alon Sapozhnikov

Support Specialist,

answered by Alon_TypeMock (8.9k points)
Hi Alon,

Thanks for reply.

On my machine: I have VS2015 and typemock 8.7, and tests pass locally.

On the azure server: typemock run unit tests Task extension verison is the latest verison 8.9.21363.

On the pipeline agent: VS2019, I enabled auto deploy

Here is the error message:System.Management.Automation.CmdletInvocationException:Unable to determine the location of vstest.console.exe. and no unit tests runs

Hi Tracy,

Can you please download our latest version from our site to your machine.

The latest version contains full integration with VS2019.

After you update the version, update the references of your project.

I assume it will fix your issue.

Please keep me posted.

Cheers,

Alon Sapozhnikov.

Support Specialist.

Hi Alon,

I'm sure the new version will work with VS2019.

but the problem is I'm using the azure pipeline, and on my VSTS server, I have installed the latest typemock run unit tests Task extension. This extension seems can't compliable with VS2019. Is there any updates for that extension?

Hi Tracy,

What I meant is that I see you auto deploy Typemock.

Therefore, you will need our latest DLL's to integrate with visual studio 2019 inside the VSTS server.

See attached link to our documentation on Auto Deploy:
https://www.typemock.com/docs/?book=Isolator&page=Documentation%2FHtmlDocs%2Fautodeploy.htm

Perhaps, I'm not understanding well what is the issue.

If that is the case, please open a ticket in our Premium Ticket Portal and I will continue our conversation there.

Cheers,

Alon Sapozhnikov.

Support Specialist.

Hi Alon,

I have create a Ticket #19428. Could you take a look? Thanks.

Hi Tracy,

Yes I saw it thank you.

We will continue our conversation there.

Cheers,

Alon Sapozhnikov.

Support Specialist.

...