Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSTest.exe (VS2012) crashes QTAgent32.exe

i am trying to execute our tests via cmdline. I use VS2012, but i always get this error:

error

When i run the tests directly in VS2010 on the same machine they run fine. I can't use VS2010 for cmdline because we have the wrong license ( assembly finding doesn't work ) so i have to use 2012. All Windows updates are present.

Has somebody had similar issues with MSTest/VS2012 ?

like image 829
icywiener Avatar asked Jul 06 '13 05:07

icywiener


1 Answers

If you want to keep VS 2012 update 2, 3, or 4 installed, you can try the below workaround:

Run the below commands in the command line:

DEL /S %windir%\*Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.ni.dll* 
DEL /S %windir%\*Microsoft.VisualStudio.QualityTools.ExecutionCommon.ni.dll* 

This is a workaround provided by Microsoft guys.

You need run this batch again after you install Visual Studio updates or sometime even Windows Updates.

like image 84
Yanhua Avatar answered Nov 02 '22 07:11

Yanhua